Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
Android 0.0.0 Developer Preview
belongs to Maven artifact androidx.leanback:leanback:1.1.0-alpha01

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.