package com.lcodecore.tkrefreshlayout; import android.view.MotionEvent; public interface OnGestureListener { void onDown(MotionEvent ev); void onScroll(MotionEvent downEvent, MotionEvent currentEvent, float distanceX, float distanceY); void onUp(MotionEvent ev, boolean isFling); void onFling(MotionEvent downEvent, MotionEvent upEvent, float velocityX, float velocityY); }