Package-level declarations

Types

Link copied to clipboard

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

Link copied to clipboard
data class AnimatorConfiguration(val hideAnimationDuration: Duration = DEFAULT_HIDE_DURATION, val hideAnimationDelay: Duration = DEFAULT_HIDE_DELAY, val showAnimationDuration: Duration = DEFAULT_SHOW_DURATION, val showAnimationDelay: Duration = Duration.ZERO)

Provides animation configuration.

Link copied to clipboard
class CollapseAndHideAnimationProvider(target: View, configuration: AnimatorConfiguration = AnimatorConfiguration()) : AnimationProvider

Describes an animation of the target when alpha and scale are changed gradually and simultaneously - view is collapsing and disappearing.

Link copied to clipboard
class VisibilityAnimator(animationProvider: AnimationProvider)

Controls animation provided with animationProvider.