修复一处Glide的Contexts可能为空的问题
This commit is contained in:
parent
8f7adb3079
commit
a20571e050
@ -459,7 +459,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
if (dr_pk_end_gif.getVisibility() == View.GONE) {
|
||||
dr_pk_end_gif.setVisibility(View.VISIBLE);
|
||||
RequestOptions options = new RequestOptions().skipMemoryCache(true);//配置
|
||||
Glide.with(Contexts).asGif()
|
||||
Glide.with(mContext).asGif()
|
||||
.apply(options)//应用配置
|
||||
.load(R.mipmap.drpkend)
|
||||
.listener(new RequestListener<GifDrawable>() {
|
||||
|
Loading…
Reference in New Issue
Block a user