fix: the good classify does not show

This commit is contained in:
HuanChengFly 2020-04-05 13:18:51 +08:00
parent 768ced3cf6
commit b81106521d
1 changed files with 1 additions and 1 deletions

View File

@ -124,6 +124,7 @@ public class ForumAdapter extends MultiBaseAdapter<ForumPageBean.ThreadBean> {
Toast.makeText(mContext, R.string.toast_cannot_view, Toast.LENGTH_SHORT).show();
return;
}
this.data = data;
ids = new ArrayList<>();
List<ForumPageBean.ThreadBean> threadBeans = new ArrayList<>();
for (ForumPageBean.ThreadBean threadBean : data.getThreadList()) {
@ -136,7 +137,6 @@ public class ForumAdapter extends MultiBaseAdapter<ForumPageBean.ThreadBean> {
setNewData(threadBeans);
addUser(data.getUserList());
refreshGood();
this.data = data;
}
public void addData(ForumPageBean data) {