Package com.tomtom.sdk.common.ui.animation
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.milliseconds, val hideAnimationDelay: Duration = DEFAULT_HIDE_DELAY.milliseconds, val showAnimationDuration: Duration = DEFAULT_SHOW_DURATION.milliseconds, val showAnimationDelay: Duration = Duration.ZERO)
Content copied to clipboard
Provides animation configuration.
Link copied to clipboard
class CollapseAndHideAnimationProvider(target: View, configuration: AnimatorConfiguration = AnimatorConfiguration()) : AnimationProvider
Content copied to clipboard
Describes an animation of the target when alpha and scale are changed gradually and simultaneously - view is collapsing and disappearing.
Link copied to clipboard
Controls animation provided with animationProvider.