Package 

Class RecyclerView.OnFlingListener

    • Method Summary

      Modifier and Type Method Description
      abstract boolean onFling(int velocityX, int velocityY) Override this to handle a fling given the velocities in both x and y directions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onFling

         abstract boolean onFling(int velocityX, int velocityY)

        Override this to handle a fling given the velocities in both x and y directions.Note that this method will only be called if the associated LayoutManager supports scrolling and the fling is not handled by nested scrolls first.

        Parameters:
        velocityX - the fling velocity on the X axis
        velocityY - the fling velocity on the Y axis