- 博客(8)
- 收藏
- 关注
原创 确认订单的适配器1
在这里插入代码片public class ConfirmOrderAdapter extends RecyclerView.Adapter<ConfirmOrderAdapter.ViewHolder> {private Context context;private List<HomeshopsBean> homeshopsBeans;//数据源集合public ConfirmOrderAdapter(Context context, List<Homeshops
2021-03-16 16:25:08
55
原创 首页的适配器1
在这里插入代码片```public class HomeAdapter extends RecyclerView.Adapter<HomeAdapter.ViewHolder> { private Context context; private List<HomeshopsBean> homeshopBeanList;//首页商品集合 public HomeAdapter(Context context, List<HomeshopsBean&g
2021-03-16 16:24:31
61
原创 订单的适配器1
```java在这里插入代码片```public class OrderAdapter extends RecyclerView.Adapter<OrderAdapter.ViewHolder> { private Context context; private List<HomeshopsBean> homeshopsBeans;//数据源集合 private Realm realm; public OrderAdapter(Contex.
2021-03-16 16:23:44
107
原创 购物车的适配器1
在这里插入代码片public class ShopCartAdapter extends RecyclerView.Adapter<ShopCartAdapter.ViewHolder> { private Context context; private List<HomeshopsBean> homeshopBeans;//数据源集合 private Realm realm; public ShopCartAdapter(Context co
2021-03-16 16:22:56
75
原创 购物车的商品详情
在这里插入代码片```public class DetailActivity extends AppCompatActivity { @BindView(R.id.image) SimpleDraweeView image; @BindView(R.id.bookname) TextView bookname; @BindView(R.id.appearance) TextView appearance; @BindView(R.id.locati
2021-03-16 16:20:51
80
原创 购物车的确认订单
在这里插入代码片public class ConfirmOrderActivity extends AppCompatActivity {@BindView(R.id.recyclerView_confirmOrder)RecyclerView recyclerViewConfirmOrder;@BindView(R.id.totalPrice)TextView tv_totalPrice;//商品总价显示的TextViewprivate int totalPrice;private Unb
2021-03-16 16:18:52
287
原创 购物车的页面
```java在这里插入代码片public class ShopCartFragment extends Fragment {@BindView(R.id.recyclerView_shopCart)RecyclerView recyclerViewShopCart;@BindView(R.id.cb_select_all)CheckBox cbSelectAll;@BindView(R.id.tv_total_price)TextView tvTotalPrice;@BindView.
2021-03-16 16:13:59
109
原创 购物车的订单单
```java在这里插入代码片`public class OrderFragment extends Fragment { @BindView(R.id.tabLayoutId) TabLayout tabLayoutId; @BindView(R.id.recyclerView_order) RecyclerView recyclerViewOrder; private Realm realm; private Unbinder unbinder;.
2021-03-16 16:11:45
91
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人