修复bug
This commit is contained in:
@@ -339,6 +339,7 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
||||
SVGADrawable drawable = new SVGADrawable(videoItem);
|
||||
gift_svga.setImageDrawable(drawable);
|
||||
SVGAViewUtils.playEndClear(gift_svga, false);
|
||||
gift_svga.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -349,7 +350,12 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
||||
e.printStackTrace();
|
||||
}
|
||||
} else {
|
||||
ImgLoader.display(mContext, u.getDress().getAvatar_frame(), gift_svga);
|
||||
if(StringUtil.isEmpty(u.getDress().getAvatar_frame())){
|
||||
gift_svga.setVisibility(View.GONE);
|
||||
}else{
|
||||
gift_svga.setVisibility(View.VISIBLE);
|
||||
ImgLoader.display(mContext, u.getDress().getAvatar_frame(), gift_svga);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user