- 博客(5)
- 收藏
- 关注
原创 购物车分类 仅供参考
recyclerView = view.findViewById(R.id.classify_recycleview); Gson gson = new Gson(); ClassifyLeftBean fromJson = gson.fromJson(json, ClassifyLeftBean.class); final List<ClassifyLeftBea...
2018-06-30 10:48:32 389
原创 MVC 购物车
//自定义加减器public class MyAddView extends LinearLayout implements View.OnClickListener { private TextView removeTV; private TextView addTV; private TextView numTV; private int number = ...
2018-06-30 10:33:56 604
原创 XRecyclerView
Adapterpublic class MyAdapter extends XRecyclerView.Adapter<MyAdapter.ViewHolder> { private List<String> list; public MyAdapter(List<String> list) { this.list = list...
2018-06-30 10:26:33 97
原创 OkHttp和自定义拦截器
public class OkHttpUtils { private static final String TAG = "OkHttpUtils----"; private static OkHttpUtils okHttpUtils; private final OkHttpClient okHttpClient; private final Handler handl...
2018-06-30 10:19:38 382
原创 FlowLayout and 自定义组合控件 动态赋值
//自定义组合控件的xml<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height=...
2018-06-29 00:22:24 205
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人