Package-level declarations

Types

Link copied to clipboard
class BothSideDismissalStrategy(context: Context, dismissViewWidthThreshold: Float) : DismissalStrategy
Link copied to clipboard

A custom Android animation to perform bottom side animated enter and exit of a view on the screen.

Link copied to clipboard
abstract class DismissalStrategy(context: Context, dismissViewWidthThreshold: Float)

Define dismissal behavior of an animation.

Link copied to clipboard
class DraggedViewPositionUpdater(view: View, fadingEnabled: Boolean)

A DraggedViewPositionUpdater updates horizontal view translation.

Link copied to clipboard

A HorizontalDirectionTracker tracks the direction of horizontal movement.

Link copied to clipboard
class LeftSideDismissalStrategy(context: Context, dismissViewWidthThreshold: Float) : DismissalStrategy
Link copied to clipboard

A custom Android animation to perform left side animated enter and exit of a view on the screen.

Link copied to clipboard
open class MovementSpringAnimation(view: View, direction: MovementSpringAnimation.Direction, fadingEnabled: Boolean)

A custom animation to perform movement of a view on the screen.

Link copied to clipboard
class RightSideDismissalStrategy(context: Context, dismissViewWidthThreshold: Float) : DismissalStrategy
Link copied to clipboard
Link copied to clipboard
class VerticalMoveAnimation(view: View, finalPositionPx: Int, fadingEnabled: Boolean) : Animation

A custom Android animation to perform animated movement of a view on the screen.

Functions

Link copied to clipboard

Sets a StateListAnimator for click feedback to this if the user can interact with it by clicking it. This requires the view to have a click listener. Exceptions include EditTexts (the default animator is not wanted there) and views that have explicitly set a StateListAnimator.

Link copied to clipboard

Applies StateListAnimators to the entire view hierarchy of view, ensuring that their look and feel are consistent. After calling this method, new child views introduced to the view hierarchy will automatically have their animators set as well if needed. This method is expected to be called by the system UI upon its initialisation.