1。
This commit is contained in:
@@ -328,6 +328,13 @@ public class AvatarFrameView extends FrameLayout {
|
||||
}
|
||||
}
|
||||
|
||||
public void stopPlay(){
|
||||
// 增加空值检查
|
||||
if (mBinding != null && mBinding.playView.isRunning()) {
|
||||
mBinding.playView.stopPlay();
|
||||
}
|
||||
}
|
||||
|
||||
private void playCachedSVGA(SVGAVideoEntity videoItem) {
|
||||
try {
|
||||
SVGADrawable drawable = new SVGADrawable(videoItem, new SVGADynamicEntity());
|
||||
|
||||
Reference in New Issue
Block a user