CollapseAndHideAnimationProvider

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.

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

Constructors

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

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun createHideAnimation(): ObjectAnimator

Creates ObjectAnimator that is responsible for the hiding animation.

Link copied to clipboard
open override fun createShowAnimation(): ObjectAnimator

Creates ObjectAnimator that is responsible for the showing animation.