diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-05 23:30:09 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-07-05 23:30:09 -0700 |
commit | e803969433b56e7e6ef4b02ed01aaa2e410eb1f9 (patch) | |
tree | 50c42e4ecc58bef35f4407cdce42f5154b9b42a2 /core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt | |
parent | e3a12337d67802e79c9e7b20d96dff09118b8fc7 (diff) | |
download | kau-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.kt | 1 |
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) |