财富榜周榜前三无关注按钮时,样式错误
This commit is contained in:
parent
ab2275d93b
commit
09bb0a606a
@ -197,7 +197,7 @@ public class HomeRankFragment extends BaseFragment {
|
|||||||
getItem(position, mName1, mName2, mName3).setText(user.getUserNicename());
|
getItem(position, mName1, mName2, mName3).setText(user.getUserNicename());
|
||||||
getItem(position, mVotes1, mVotes2, mVotes3).setText(user.getMoney());
|
getItem(position, mVotes1, mVotes2, mVotes3).setText(user.getMoney());
|
||||||
if (user.isFollow()) {
|
if (user.isFollow()) {
|
||||||
getItem(position, mBtnFollow1, mBtnFollow2, mBtnFollow3).setVisibility(View.GONE);
|
getItem(position, mBtnFollow1, mBtnFollow2, mBtnFollow3).setVisibility(View.INVISIBLE);
|
||||||
} else {
|
} else {
|
||||||
getItem(position, mBtnFollow1, mBtnFollow2, mBtnFollow3).setVisibility(View.VISIBLE);
|
getItem(position, mBtnFollow1, mBtnFollow2, mBtnFollow3).setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
@ -110,7 +110,7 @@ public class HomeRankListAdapter extends RecyclerView.Adapter<HomeRankListAdapte
|
|||||||
@Override
|
@Override
|
||||||
public void onSuccess(FollowBean data) {
|
public void onSuccess(FollowBean data) {
|
||||||
ToastUtil.show(WordUtil.getNewString(R.string.system_tip_success));
|
ToastUtil.show(WordUtil.getNewString(R.string.system_tip_success));
|
||||||
v.setVisibility(View.GONE);
|
v.setVisibility(View.INVISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 45 KiB |
Loading…
x
Reference in New Issue
Block a user