diff options
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.java')
-rw-r--r-- | core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.java b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.java new file mode 100644 index 0000000..6e67692 --- /dev/null +++ b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.java @@ -0,0 +1,10 @@ +package ca.allanwang.kau.swipe; + +public interface SwipeListener { + void onScroll(float percent,int px); + void onEdgeTouch(); + /** + * Invoke when scroll percent over the threshold for the first time + */ + void onScrollToClose(); + }
\ No newline at end of file |