修复排行榜神秘人ui错乱问题

This commit is contained in:
zlzw 2023-06-02 18:00:28 +08:00
parent 0bab58d507
commit 7201fd37f3

View File

@ -199,7 +199,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
void setData(ListBean bean, int position, Object payload) {
if (payload == null) {
svga.setVisibility(View.GONE);
svga.setVisibility(View.INVISIBLE);
if (bean.getDress_head() != null) {
if (bean.getDress_head().contains("svga")) {
svga.setVisibility(View.VISIBLE);
@ -256,7 +256,7 @@ public class MainListAdapter extends RefreshAdapter<ListBean> {
liveing.setVisibility(View.INVISIBLE);
}
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);
if (bean.getAttention() == 1) {
mBtnFollow.doChecked(true);