DraggedViewPositionUpdater

class DraggedViewPositionUpdater(view: View, fadingEnabled: Boolean)

A DraggedViewPositionUpdater updates horizontal view translation.

Parameters

view

View to animate.

fadingEnabled

Whether fading effect is enabled.

Constructors

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

Functions

Link copied to clipboard
fun onMoved(horizontalPositionPx: Float)

Moves the view.