SlideDistanceProvider

A class that can configure and create an Animator that slides a view vertically or horizontally slide over a specific distance.

Constructors

Link copied to clipboard
constructor(slideEdge: Int)

Types

Link copied to clipboard
GravityFlag definitions.

Properties

Link copied to clipboard
@get:Px
open var slideDistance: Int
Link copied to clipboard
open var slideEdge: Int

Functions

Link copied to clipboard
open fun createAppear(@NonNull sceneRoot: ViewGroup, @NonNull view: View): Animator
Should return an Animator that animates in the appearing target view.
Link copied to clipboard
open fun createDisappear(@NonNull sceneRoot: ViewGroup, @NonNull view: View): Animator
Should return an Animator that animates out the disappearing target view.