跨房PK:错误修改
This commit is contained in:
@@ -773,10 +773,10 @@ public class RoomEffectView extends FrameLayout {
|
|||||||
ImageLoadUtils.loadImage(getContext(), roomPkBean.getWinAvatar(), rootView.findViewById(R.id.iv_avatar_left));
|
ImageLoadUtils.loadImage(getContext(), roomPkBean.getWinAvatar(), rootView.findViewById(R.id.iv_avatar_left));
|
||||||
ImageLoadUtils.loadImage(getContext(), roomPkBean.getFailAvatar(), rootView.findViewById(R.id.iv_avatar_right));
|
ImageLoadUtils.loadImage(getContext(), roomPkBean.getFailAvatar(), rootView.findViewById(R.id.iv_avatar_right));
|
||||||
rootView.findViewById(R.id.tv_go_room).setOnClickListener(v -> AVRoomActivity.start(getContext(), roomPkBean.getWinUid()));
|
rootView.findViewById(R.id.tv_go_room).setOnClickListener(v -> AVRoomActivity.start(getContext(), roomPkBean.getWinUid()));
|
||||||
binding.flRoomPKNotify.addView(rootView);
|
binding.flRoomPkNotify.addView(rootView);
|
||||||
animationLuckyGift = AnimationUtils.loadAnimation(mContext, R.anim.anim_box_notify);
|
animationLuckyGift = AnimationUtils.loadAnimation(mContext, R.anim.anim_box_notify);
|
||||||
rootView.startAnimation(animationLuckyGift);
|
rootView.startAnimation(animationLuckyGift);
|
||||||
binding.flRoomPKNotify.postDelayed(() -> binding.flRoomPKNotify.removeView(rootView), SHOW_TIME);
|
binding.flRoomPkNotify.postDelayed(() -> binding.flRoomPkNotify.removeView(rootView), SHOW_TIME);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user