AnimationProvider

interface AnimationProvider

Interface to provide the show/hide animation of the UI component. Implementation of this interface must be used with VisibilityAnimator.

Important: This is a Public Preview API. It may be changed or removed at any time.

Functions

Link copied to clipboard
abstract fun createHideAnimation(): ObjectAnimator

Creates ObjectAnimator that is responsible for the hiding animation.

Link copied to clipboard
abstract fun createShowAnimation(): ObjectAnimator

Creates ObjectAnimator that is responsible for the showing animation.

Inheritors

Link copied to clipboard