修改问题
This commit is contained in:
parent
479a743d29
commit
69b45f1d21
@ -50,11 +50,14 @@ public class NewRoleFunGamesChildViewHolder extends RecyclerView.ViewHolder {
|
||||
}
|
||||
|
||||
funGameName.setText(model.getTitle());
|
||||
if (TextUtils.equals(model.getTitle(), WordUtil.getNewString(com.yunbao.common.R.string.guard_guard)) && IMLoginManager.get(itemView.getContext()).getGuardRedPoint()) {
|
||||
total_image_red_point.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
total_image_red_point.setVisibility(View.GONE);
|
||||
if (total_image_red_point!=null){
|
||||
if (TextUtils.equals(model.getTitle(), WordUtil.getNewString(com.yunbao.common.R.string.guard_guard)) && IMLoginManager.get(itemView.getContext()).getGuardRedPoint()) {
|
||||
total_image_red_point.setVisibility(View.VISIBLE);
|
||||
} else {
|
||||
total_image_red_point.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
|
||||
ViewClicksAntiShake.clicksAntiShake(itemView, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||
@Override
|
||||
public void onViewClicks() {
|
||||
|
Loading…
Reference in New Issue
Block a user