修改问题

This commit is contained in:
18401019693 2024-04-08 14:43:27 +08:00
parent 479a743d29
commit 69b45f1d21

View File

@ -50,11 +50,14 @@ public class NewRoleFunGamesChildViewHolder extends RecyclerView.ViewHolder {
} }
funGameName.setText(model.getTitle()); funGameName.setText(model.getTitle());
if (TextUtils.equals(model.getTitle(), WordUtil.getNewString(com.yunbao.common.R.string.guard_guard)) && IMLoginManager.get(itemView.getContext()).getGuardRedPoint()) { if (total_image_red_point!=null){
total_image_red_point.setVisibility(View.VISIBLE); if (TextUtils.equals(model.getTitle(), WordUtil.getNewString(com.yunbao.common.R.string.guard_guard)) && IMLoginManager.get(itemView.getContext()).getGuardRedPoint()) {
} else { total_image_red_point.setVisibility(View.VISIBLE);
total_image_red_point.setVisibility(View.GONE); } else {
total_image_red_point.setVisibility(View.GONE);
}
} }
ViewClicksAntiShake.clicksAntiShake(itemView, new ViewClicksAntiShake.ViewClicksCallBack() { ViewClicksAntiShake.clicksAntiShake(itemView, new ViewClicksAntiShake.ViewClicksCallBack() {
@Override @Override
public void onViewClicks() { public void onViewClicks() {