OnFlingListener

abstract class OnFlingListener(source)

This class defines the behavior of fling if the developer wishes to handle it.

Subclasses of OnFlingListener can be used to implement custom fling behavior.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract fun onFling(velocityX: Int, velocityY: Int): Boolean
Override this to handle a fling given the velocities in both x and y directions.