调整SVGA播放工具
This commit is contained in:
@@ -20,7 +20,7 @@ public class SVGAViewUtils {
|
||||
}
|
||||
}
|
||||
CrashSaveBean.getInstance().addPlaySvga();
|
||||
svga.setLoops(loop);
|
||||
// svga.setLoops(loop);
|
||||
svga.setCallback(new SVGACallback() {
|
||||
@Override
|
||||
public void onPause() {
|
||||
@@ -74,7 +74,7 @@ public class SVGAViewUtils {
|
||||
SVGA_CACHE.clear();
|
||||
}
|
||||
public static void playEndClear(SVGAImageView svga, boolean isClear, SVGACallback callback) {
|
||||
playEndClear(svga, isClear,0, null);
|
||||
playEndClear(svga, isClear,1, null);
|
||||
}
|
||||
public static void playEndClear(SVGAImageView svga, boolean isClear) {
|
||||
playEndClear(svga, isClear,null);
|
||||
|
||||
Reference in New Issue
Block a user