FragmentAnimationProvider


interface FragmentAnimationProvider

Known direct subclasses
GuidanceStylist

GuidanceStylist is used within a androidx.leanback.app.GuidedStepFragment to display contextual information for the decision(s) required at that step.

GuidedActionsStylist

GuidedActionsStylist is used within a androidx.leanback.app.GuidedStepFragment to supply the right-side panel where users can take actions.


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 functions

Unit

Animates the fragment in response to the IME appearing.

Unit

Animates the fragment in response to the IME disappearing.

Public functions

onImeAppearing

Added in 1.1.0
fun onImeAppearing(animators: (Mutable)List<Animator!>): Unit

Animates the fragment in response to the IME appearing.

Parameters
animators: (Mutable)List<Animator!>

A list of animations to which this provider's animations should be added.

onImeDisappearing

Added in 1.1.0
fun onImeDisappearing(animators: (Mutable)List<Animator!>): Unit

Animates the fragment in response to the IME disappearing.

Parameters
animators: (Mutable)List<Animator!>

A list of animations to which this provider's animations should be added.