修改问题
This commit is contained in:
parent
479a743d29
commit
69b45f1d21
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user