
MVP
疯狂键盘侠
键盘敲烂月薪三万.
展开
-
MVP实现OkHttp+RecyclerView
所需依赖 /*glide图片工具*/ implementation 'com.github.bumptech.glide:glide:4.8.0' /*gson解析*/ implementation 'com.google.code.gson:gson:2.2.4' /*okhttp网络请求*/ implementation 'com.squareup.okhttp3:ok...原创 2018-12-12 15:10:24 · 270 阅读 · 0 评论 -
防京东搜索页面+跳转详情页
IViewpublic interface IView { Context context();}MainViewpublic interface MainView extends IView { void ShowSuccess(GoodsBean goodsBean); void ShowError(String error);}HttpUtilspu...原创 2018-12-16 20:36:51 · 3203 阅读 · 1 评论 -
防京东列表+布局切换
所需依赖 /*banner轮播图 依赖*/ implementation 'com.youth.banner:banner:1.4.9' /*gson解析*/ implementation 'com.google.code.gson:gson:2.2.4' /*okhttp网络请求*/ implementation 'com.squareup.okh...原创 2018-12-18 09:38:31 · 459 阅读 · 0 评论 -
Mvp实现防京东列表点击详情跳转购物车
所需依赖 /*Picasso依赖*/ implementation 'com.squareup.picasso:picasso:2.3.2' /*banner轮播图 依赖*/ implementation 'com.youth.banner:banner:1.4.9' /*gson解析*/ implementation 'com.google.cod...原创 2018-12-18 19:51:37 · 338 阅读 · 0 评论 -
RecyclerView实现京东分类联动效果
这个难点在于接口回调,以及联动效果.对于数据的一个处理Adapter–ParentAdapterpublic class ParentAdapter extends BaseQuickAdapter<ParentBean.DataBean, BaseViewHolder> { public ParentAdapter(int layoutResId, @Nullable ...原创 2019-01-06 20:46:22 · 2332 阅读 · 4 评论