aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-05 23:30:09 -0700
committerAllan Wang <me@allanwang.ca>2017-07-05 23:30:09 -0700
commite803969433b56e7e6ef4b02ed01aaa2e410eb1f9 (patch)
tree50c42e4ecc58bef35f4407cdce42f5154b9b42a2 /core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt
parente3a12337d67802e79c9e7b20d96dff09118b8fc7 (diff)
downloadkau-e803969433b56e7e6ef4b02ed01aaa2e410eb1f9.tar.gz
kau-e803969433b56e7e6ef4b02ed01aaa2e410eb1f9.tar.bz2
kau-e803969433b56e7e6ef4b02ed01aaa2e410eb1f9.zip
Allow for sensitivity config
Diffstat (limited to 'core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt')
-rw-r--r--core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt
index c4e637b..cb28342 100644
--- a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt
+++ b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt
@@ -59,6 +59,7 @@ interface SwipeBackContract {
var disallowIntercept: Boolean
var minVelocity: Float
var maxVelocity: Float
+ var sensitivity:Float
fun setEdgeSizePercent(swipeEdgePercent: Float)
fun addListener(listener: SwipeListener)
fun removeListener(listener: SwipeListener)