android ----回调函数使用简介(可以参考前端的写法)

//1 定义回调函数 public interface GirdMenuStateListener { void onSuccess(); void onError(); } //2 使用的地方声明 和 调用 回调函数 传递结果public class GirdMenuViewPresenter {
posted @ 2017-08-03 11:41  JavAndroidJSql  阅读(881)  评论(0编辑  收藏  举报