摘要: 依赖: 阅读全文
posted @ 2018-01-10 14:12 小马哥(马云) 阅读(468) 评论(0) 推荐(0)
摘要: //详情 public static final String XQURL="product/getProductDetail"; @GET(Api.XQURL) Flowable xqbean(@Query("pid") String pid ,@Query("resource") String resource); model public class XqMo... 阅读全文
posted @ 2018-01-03 20:46 小马哥(马云) 阅读(207) 评论(0) 推荐(0)
摘要: 依赖 M层 P层 V层 XML Myadapter 阅读全文
posted @ 2017-12-27 20:13 小马哥(马云) 阅读(337) 评论(0) 推荐(0)
摘要: 代码 布局 阅读全文
posted @ 2017-12-27 13:37 小马哥(马云) 阅读(251) 评论(0) 推荐(0)
摘要: RetrofitHelper M P V 适配器 阅读全文
posted @ 2017-12-20 11:03 小马哥(马云) 阅读(1285) 评论(0) 推荐(0)
摘要: public static final String HOST_URL=""; public interface HttpUtils { @GET(API.URL) Call> NeeslistBean(); } public interface NetWorkListener { public void onSuccess(T t); publ... 阅读全文
posted @ 2017-12-07 08:49 小马哥(马云) 阅读(584) 评论(0) 推荐(0)
摘要: public class MainActivity extends FragmentActivity { private ViewPager vp; private List list; private Fragment01 fragment01; private Fragment02 fragment02; private Fragment03 fra... 阅读全文
posted @ 2017-12-04 09:20 小马哥(马云) 阅读(134) 评论(0) 推荐(0)
摘要: item_second item_first one 阅读全文
posted @ 2017-12-04 08:12 小马哥(马云) 阅读(212) 评论(0) 推荐(0)
摘要: 依赖包 布局///主布局 child.xml注意自定义View myview.xml presenter GoodsPresenter MyAdapter MyView MainActivity M层 GoodsModel 阅读全文
posted @ 2017-11-23 08:33 小马哥(马云) 阅读(269) 评论(0) 推荐(0)
摘要: 所需要的依赖 net下HttpUtils GET请求 OnNetListener接口回调 Api model层 MainModel IMainModel presenter层 MainPresenter view层 MainActivity IMainActivity adapter下 MyAdap 阅读全文
posted @ 2017-11-22 13:44 小马哥(马云) 阅读(390) 评论(0) 推荐(0)