Package 

Class VelocityHelper


  • 
    public class VelocityHelper
    
                        

    This Class helps to calculate the velocity for all ScrollView. The x and y velocity will later on send to ReactScrollViewHelper for further use.

    • Method Summary

      Modifier and Type Method Description
      void calculateVelocity(MotionEvent ev) Call from a ScrollView in onTouchEvent.
      float getXVelocity()
      float getYVelocity()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait