FragmentAnimationProvider
public
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
void
|
onImeAppearing(List<Animator> animators)
Animates the fragment in response to the IME appearing. |
abstract
void
|
onImeDisappearing(List<Animator> animators)
Animates the fragment in response to the IME disappearing. |
Public methods
onImeAppearing
public abstract void onImeAppearing (List<Animator> animators)
Animates the fragment in response to the IME appearing.
Parameters | |
---|---|
animators |
List : A list of animations to which this provider's animations should be added.
|
onImeDisappearing
public abstract void onImeDisappearing (List<Animator> animators)
Animates the fragment in response to the IME disappearing.
Parameters | |
---|---|
animators |
List : A list of animations to which this provider's animations should be added.
|