[6.3.0]
[动画崩溃]
This commit is contained in:
@@ -115,7 +115,11 @@ class FrameAnimatorContainer (resId: Int,
|
||||
mOnAnimationStoppedListener?.playOnce()
|
||||
}
|
||||
val nextInfo= if(sequence){// 倒叙
|
||||
mFrames[mIndex]
|
||||
try {
|
||||
mFrames[mIndex]
|
||||
}catch (e:ArrayIndexOutOfBoundsException){
|
||||
mFrames.last()
|
||||
}
|
||||
}else{
|
||||
mFrames[mFrames.size-1-mIndex]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user