隱身榜單修改
This commit is contained in:
parent
a5826b2dc3
commit
362dff002f
@ -319,6 +319,7 @@ public class UserMoreInfoAdapter extends RefreshAdapter<UserBean> {
|
||||
this.outRankHide = outRankHide;
|
||||
for (UserBean model : mList) {
|
||||
for (String hideId : outRankHide) {
|
||||
if (!model.isHide())
|
||||
model.setHide(TextUtils.equals(model.getId(), hideId));
|
||||
}
|
||||
}
|
||||
@ -329,6 +330,7 @@ public class UserMoreInfoAdapter extends RefreshAdapter<UserBean> {
|
||||
public void refreshData(List<UserBean> list) {
|
||||
for (UserBean model : list) {
|
||||
for (String hideId : outRankHide) {
|
||||
if (!model.isHide())
|
||||
model.setHide(TextUtils.equals(model.getId(), hideId));
|
||||
}
|
||||
}
|
||||
|
@ -146,6 +146,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
||||
public void refreshData(List<ListBean> list) {
|
||||
for (ListBean model : list) {
|
||||
for (String hideId : outRankHide) {
|
||||
if (!model.isHide())
|
||||
model.setHide(TextUtils.equals(model.getUid(), hideId));
|
||||
}
|
||||
}
|
||||
@ -630,6 +631,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
||||
this.outRankHide = outRankHide;
|
||||
for (ListBean model : mList) {
|
||||
for (String hideId : outRankHide) {
|
||||
if (!model.isHide())
|
||||
model.setHide(TextUtils.equals(model.getUid(), hideId));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user