fix: the good classify does not show
This commit is contained in:
parent
768ced3cf6
commit
b81106521d
|
|
@ -124,6 +124,7 @@ public class ForumAdapter extends MultiBaseAdapter<ForumPageBean.ThreadBean> {
|
||||||
Toast.makeText(mContext, R.string.toast_cannot_view, Toast.LENGTH_SHORT).show();
|
Toast.makeText(mContext, R.string.toast_cannot_view, Toast.LENGTH_SHORT).show();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
this.data = data;
|
||||||
ids = new ArrayList<>();
|
ids = new ArrayList<>();
|
||||||
List<ForumPageBean.ThreadBean> threadBeans = new ArrayList<>();
|
List<ForumPageBean.ThreadBean> threadBeans = new ArrayList<>();
|
||||||
for (ForumPageBean.ThreadBean threadBean : data.getThreadList()) {
|
for (ForumPageBean.ThreadBean threadBean : data.getThreadList()) {
|
||||||
|
|
@ -136,7 +137,6 @@ public class ForumAdapter extends MultiBaseAdapter<ForumPageBean.ThreadBean> {
|
||||||
setNewData(threadBeans);
|
setNewData(threadBeans);
|
||||||
addUser(data.getUserList());
|
addUser(data.getUserList());
|
||||||
refreshGood();
|
refreshGood();
|
||||||
this.data = data;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addData(ForumPageBean data) {
|
public void addData(ForumPageBean data) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue