From 8b784e134ea7ea5c44dd668b77adde928bd2fcf9 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 7 Sep 2022 18:36:03 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8D=95=E8=8E=B7=E4=B8=80=E5=A4=84?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E5=AF=BC=E8=87=B4=E7=9A=84=E9=97=AA=E9=80=80?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/views/LiveRoomViewHolder.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 655651d38..b4f57a372 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -729,7 +729,12 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis } }); findViewById(R.id.hot_btn).setOnClickListener(this); - Glide.with(mContext).asGif().load(R.drawable.fans_medal).into(mViewMedal); + try { + Glide.with(mContext).asGif().load(R.drawable.fans_medal).into(mViewMedal); + }catch (Exception e){ + System.err.println("发生异常行为"); + e.printStackTrace(); + } //用户头像列表 mUserRecyclerView = (RecyclerView) findViewById(R.id.user_recyclerView);