fix [打招呼弹窗被隐藏问题]

This commit is contained in:
zlzw 2024-03-26 16:52:31 +08:00
parent b3fe537b2c
commit 698b875a93

View File

@ -77,9 +77,9 @@ public class MessageSayHiNotifyDialog extends AbsDialogCenterPopupWindow {
@Override @Override
protected void onDismiss() { protected void onDismiss() {
super.onDismiss(); super.onDismiss();
/*if (onDismissListener != null) { if (onDismissListener != null) {
onDismissListener.onItemClick(userInfoBean.getUser().getId() + "", isSayHi ? 2 : 1); onDismissListener.onItemClick(userInfoBean.getUser().getId() + "", isSayHi ? 2 : 1);
}*/ }
} }
boolean isSayHi = false; boolean isSayHi = false;
@ -98,7 +98,7 @@ public class MessageSayHiNotifyDialog extends AbsDialogCenterPopupWindow {
sendMsg(userInfoBean.getSayHiMsg()); sendMsg(userInfoBean.getSayHiMsg());
dismiss(); dismiss();
}); });
/* avatar = findViewById(R.id.avatar); avatar = findViewById(R.id.avatar);
anchorName = findViewById(R.id.anchorName); anchorName = findViewById(R.id.anchorName);
ImgLoader.display(mContext, userInfoBean.getUser().getAvatar(), avatar); ImgLoader.display(mContext, userInfoBean.getUser().getAvatar(), avatar);
anchorName.setText(userInfoBean.getUser().getUserNicename()); anchorName.setText(userInfoBean.getUser().getUserNicename());
@ -110,7 +110,7 @@ public class MessageSayHiNotifyDialog extends AbsDialogCenterPopupWindow {
,WordUtil.isNewZh()?"":"years old" ,WordUtil.isNewZh()?"":"years old"
) )
); );
showTag();*/ showTag();
} }
private void showTag() { private void showTag() {