public static class ViewUtils.HardwareLayerAnimationListener
Applies View.LAYER_TYPE_HARDWARE to provided View on animation start and returns in to previous layer on animation finish.
public HardwareLayerAnimationListener(@NotNull
android.view.View view)
Applies View.LAYER_TYPE_HARDWARE to provided View on animation start and returns in to previous layer on animation finish.
public void onAnimationStart(@NotNull
android.animation.Animator animation)
public void onAnimationFinished(@NotNull
android.animation.Animator animation)
Implement this method instead of .onAnimationEnd