修复排行榜神秘人ui错乱问题
This commit is contained in:
parent
0bab58d507
commit
7201fd37f3
@ -199,7 +199,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
|
|
||||||
void setData(ListBean bean, int position, Object payload) {
|
void setData(ListBean bean, int position, Object payload) {
|
||||||
if (payload == null) {
|
if (payload == null) {
|
||||||
svga.setVisibility(View.GONE);
|
svga.setVisibility(View.INVISIBLE);
|
||||||
if (bean.getDress_head() != null) {
|
if (bean.getDress_head() != null) {
|
||||||
if (bean.getDress_head().contains("svga")) {
|
if (bean.getDress_head().contains("svga")) {
|
||||||
svga.setVisibility(View.VISIBLE);
|
svga.setVisibility(View.VISIBLE);
|
||||||
@ -256,7 +256,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
|
|||||||
liveing.setVisibility(View.INVISIBLE);
|
liveing.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
mBtnFollow.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
mBtnFollow.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
||||||
svga.setVisibility(bean.isHide() ? View.GONE : View.VISIBLE);
|
svga.setVisibility(bean.isHide() ? View.INVISIBLE : View.VISIBLE);
|
||||||
mBtnFollow.setTag(position);
|
mBtnFollow.setTag(position);
|
||||||
if (bean.getAttention() == 1) {
|
if (bean.getAttention() == 1) {
|
||||||
mBtnFollow.doChecked(true);
|
mBtnFollow.doChecked(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user