lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1

FragmentAnimationProvider

public interface FragmentAnimationProvider

android.support.v17.leanback.widget.FragmentAnimationProvider
Known Indirect Subclasses


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

added in version 24.1.0
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

added in version 24.1.0
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.