fix:捕获一处异常导致的闪退问题
This commit is contained in:
parent
16bffa1f15
commit
8b784e134e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user