private void showData() { CartProvider cartProvider = CartProvider.getInstance(); List<GoodsBean> datas = cartProvider.getDataFromLocal(); if (datas != null && datas.size() > 0) { tvShopcartEdit.setVisibility(View.VISIBLE); tvShopcartEdit.setTag(ACTION_EDIT); adapter = new ShopCartAdapter(ShoppingCartActivity.this, datas, tvShopcartTotal, cartProvider, checkboxAll, cbAll); recyclerview.setLayoutManager(new LinearLayoutManager(ShoppingCartActivity.this)); recyclerview.setAdapter(adapter); ll_empty_shopcart.setVisibility(View.GONE); llCheckAll.setVisibility(View.VISIBLE);******************************************************************************************************************01-05 06:48:04.337 4970-4970/com.weather.com.welcomeactivity E/RecyclerView: No adapter attached; skipping layout
目前暂无任何回答
- 0 回答
- 0 关注
- 1056 浏览
添加回答
举报
0/150
提交
取消