Closed douya40 closed 6 years ago
MyBaseModel info = JSON.parseObject(response.get().toString(), MyBaseModel.class); if (info.getState() == Constants.SUCCEED) { AllOrder acty = JSON.parseObject(response.get().toString(), AllOrder.class); List mulEntityList=new ArrayList<>(); MulEntity mulEntity=new MulEntity(4);
mulEntityList.add(mulEntity); multitleAdapter.setNewData(mulEntityList); } else { ToastUtils.show(info.getData()); }
怎么给其中布局给数据呢
参考最新示例代码 https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/app/src/main/java/com/chad/baserecyclerviewadapterhelper/adapter/MultipleItemQuickAdapter.java
MyBaseModel info = JSON.parseObject(response.get().toString(), MyBaseModel.class); if (info.getState() == Constants.SUCCEED) { AllOrder acty = JSON.parseObject(response.get().toString(), AllOrder.class); List mulEntityList=new ArrayList<>();
MulEntity mulEntity=new MulEntity(4);
怎么给其中布局给数据呢