Package 

Class FxScrollImpl

  • All Implemented Interfaces:
    com.petterp.floatingx.listener.IFxScrollListener

    
    public class FxScrollImpl
     implements IFxScrollListener
                        

    IFxScrollListener 的空实现

    • Constructor Summary

      Constructors 
      Constructor Description
      FxScrollImpl()
    • Method Summary

      Modifier and Type Method Description
      Unit down() 按下
      Unit up() 松开
      Unit dragIng(MotionEvent event, Float x, Float y) 监测当前移动浮窗的手指 move回调
      Unit eventIng(MotionEvent event) 接收所有event,用于自定义判断逻辑,会在onTouchEvent中被优先永远调用
      • Methods inherited from class java.lang.Object

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

      • FxScrollImpl

        FxScrollImpl()
    • Method Detail

      • dragIng

         Unit dragIng(MotionEvent event, Float x, Float y)

        监测当前移动浮窗的手指 move回调

        Parameters:
        event - 当前手势事件
        x - 当前浮窗相对于父View的x坐标
        y - 当前浮窗相对于父View的y坐标.
      • eventIng

         Unit eventIng(MotionEvent event)

        接收所有event,用于自定义判断逻辑,会在onTouchEvent中被优先永远调用