FragmentAnimationProvider


public interface FragmentAnimationProvider
Known direct 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

Animates the fragment in response to the IME appearing.

abstract void

Animates the fragment in response to the IME disappearing.

Public methods

onImeAppearing

Added in 1.1.0
abstract void onImeAppearing(@NonNull List<Animator> animators)

Animates the fragment in response to the IME appearing.

Parameters
@NonNull List<Animator> animators

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

onImeDisappearing

Added in 1.1.0
abstract void onImeDisappearing(@NonNull List<Animator> animators)

Animates the fragment in response to the IME disappearing.