diff --git a/Share/src/main/java/com/yunbao/share/ui/InvitePopDialog.java b/Share/src/main/java/com/yunbao/share/ui/InvitePopDialog.java index 9d3767442..8642fa233 100644 --- a/Share/src/main/java/com/yunbao/share/ui/InvitePopDialog.java +++ b/Share/src/main/java/com/yunbao/share/ui/InvitePopDialog.java @@ -150,12 +150,6 @@ public class InvitePopDialog extends AbsDialogPopupWindow { ClipData clipData = ClipData.newPlainText("text", url); cm.setPrimaryClip(clipData); ToastUtil.show(WordUtil.getString(com.yunbao.common.R.string.copy_success)); - DialogUitl.showSimpleDialog(getContext(), url, new DialogUitl.SimpleCallback() { - @Override - public void onConfirmClick(Dialog dialog, String content) { - dialog.dismiss(); - } - }); } public InvitePopDialog setUrl(String data) { diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index 7d5f02066..2a46f90bf 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -356,6 +356,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis private Banner topBanner1;//心愿单&联系方式 private SVGAImageView xydSvg; public SVGAImageView svga_new_user_gif, svga_new_user_double, svga_new_user_follow; + @Subscribe(threadMode = ThreadMode.MAIN) public void onUpdata(String str) { if ("svga_new_user_gif".equals(str)) { @@ -492,6 +493,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis }, null); } + public LiveRoomViewHolder(boolean isRys, int forActivity, Context context, ViewGroup parentView, GifImageView gifImageView, SVGAImageView svgaImageView, ViewGroup liveGiftPrizePoolContainer, WindowManager windowManager) { super(context, parentView); Contexts = context; @@ -898,7 +900,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis svga_new_user_double.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { - ((LiveAudienceActivity) mContext).light(); + if (mContext instanceof LiveAudienceActivity) { + ((LiveAudienceActivity) mContext).light(); + } } }); btnEvent = findViewById(R.id.btn_event); @@ -4708,6 +4712,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis if (mTopBannerList == null) { mTopBannerList = new ArrayList<>(); } + // if(sayModel!=null&&sayModel.getLivePreview().getIsShow()==1&&sa) topBanner1.setVisibility(View.VISIBLE); BannerBean bannerBean = new BannerBean(); bannerBean.setWishlistIcon(wishListProgress.getWishlistIcon()) diff --git a/live/src/main/res/layout/sim_live_room_anchor_say.xml b/live/src/main/res/layout/sim_live_room_anchor_say.xml index fab8222ef..57aca08c6 100644 --- a/live/src/main/res/layout/sim_live_room_anchor_say.xml +++ b/live/src/main/res/layout/sim_live_room_anchor_say.xml @@ -8,7 +8,7 @@