Package io.scanbot.sdk.utils
Class ViewUtils.HardwareLayerAnimationListener
-
- All Implemented Interfaces:
-
android.animation.Animator.AnimatorListener
public final class ViewUtils.HardwareLayerAnimationListener extends ViewUtils.DefaultAnimationListener
Applies View.LAYER_TYPE_HARDWARE to provided View on animation start and returns in to previous layer on animation finish.
-
-
Constructor Summary
Constructors Constructor Description ViewUtils.HardwareLayerAnimationListener(View view)
-
Method Summary
Modifier and Type Method Description Unit
onAnimationStart(Animator animation)
Unit
onAnimationFinished(Animator animation)
Implement this method instead of . -
-
Constructor Detail
-
ViewUtils.HardwareLayerAnimationListener
ViewUtils.HardwareLayerAnimationListener(View view)
-
-
Method Detail
-
onAnimationStart
Unit onAnimationStart(Animator animation)
-
onAnimationFinished
Unit onAnimationFinished(Animator animation)
Implement this method instead of .onAnimationEnd
-
-
-
-