Package 

Interface OnViewDragListener


  • 
    public interface OnViewDragListener
    
                        

    Interface definition for a callback to be invoked when the photo is experiencing a drag event

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onDrag(Float dx, Float dy) Callback for when the photo is experiencing a drag event.
      • Methods inherited from class java.lang.Object

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

      • onDrag

         abstract Unit onDrag(Float dx, Float dy)

        Callback for when the photo is experiencing a drag event. This cannot be invoked when the user is scaling.

        Parameters:
        dx - The change of the coordinates in the x-direction
        dy - The change of the coordinates in the y-direction