aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt')
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt
index 4fe9fa8..71771a8 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeListener.kt
@@ -1,10 +1,10 @@
package ca.allanwang.kau.swipe
interface SwipeListener {
- fun onScroll(percent: Float, px: Int)
+ fun onScroll(percent: Float, px: Int, edgeFlag: Int)
fun onEdgeTouch()
/**
* Invoke when scroll percent over the threshold for the first time
*/
- fun onScrollToClose()
+ fun onScrollToClose(edgeFlag: Int)
} \ No newline at end of file