FragmentAnimationProvider

interface FragmentAnimationProvider
androidx.leanback.widget.FragmentAnimationProvider

FragmentAnimationProvider supplies animations for use during a fragment's onCreateAnimator callback. Animators added here will be added to an animation set and played together. This allows presenters used by a fragment to control their own fragment lifecycle animations.

Summary

Public methods

abstract Unit
onImeAppearing(@NonNull animators: MutableList<Animator!>)

Animates the fragment in response to the IME appearing.

abstract Unit
onImeDisappearing(@NonNull animators: MutableList<Animator!>)

Animates the fragment in response to the IME disappearing.

Public methods

onImeAppearing

abstract fun onImeAppearing(@NonNull animators: MutableList<Animator!>): Unit

Animates the fragment in response to the IME appearing.

Parameters
animators MutableList<Animator!>: A list of animations to which this provider's animations should be added.

onImeDisappearing

abstract fun onImeDisappearing(@NonNull animators: MutableList<Animator!>): Unit

Animates the fragment in response to the IME disappearing.

Parameters
animators MutableList<Animator!>: A list of animations to which this provider's animations should be added.