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);