取消Banner和开盘图片的裁切
修复主播直播间合集名字、图标错误 调整直播准备间文案 调整直播准备心愿单列表 调整直播间遮罩 调整进场动画svga动画 修复观众及个人中心头像svga闪烁和消失问题
This commit is contained in:
@@ -4,7 +4,7 @@ import com.opensource.svgaplayer.SVGACallback;
|
||||
import com.opensource.svgaplayer.SVGAImageView;
|
||||
|
||||
public class SVGAViewUtils {
|
||||
public static void playEndClear(SVGAImageView svga){
|
||||
public static void playEndClear(SVGAImageView svga,boolean isClear){
|
||||
svga.setCallback(new SVGACallback() {
|
||||
@Override
|
||||
public void onPause() {
|
||||
@@ -14,7 +14,9 @@ public class SVGAViewUtils {
|
||||
@Override
|
||||
public void onFinished() {
|
||||
//动画结束后调用clear释放资源
|
||||
svga.clear();
|
||||
if(isClear) {
|
||||
svga.clear();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -29,4 +31,7 @@ public class SVGAViewUtils {
|
||||
});
|
||||
svga.startAnimation();
|
||||
}
|
||||
public static void playEndClear(SVGAImageView svga){
|
||||
playEndClear(svga,true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ public class CustomViewHolder implements BannerViewHolder<BannerBean> {
|
||||
imageView.setLayoutParams(params);
|
||||
imageView.setScaleType(ImageView.ScaleType.FIT_XY);
|
||||
//Glide.with(context).load(data.getImageUrl()).into(imageView);
|
||||
ImgLoader.display(context,data.getImageUrl(),imageView,600,170);
|
||||
ImgLoader.display(context,data.getImageUrl(),imageView);
|
||||
|
||||
return imageView;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user