aboutsummaryrefslogtreecommitdiff
path: root/sample/src/main/kotlin
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-07-05 17:05:19 -0700
committerAllan Wang <me@allanwang.ca>2017-07-05 17:05:19 -0700
commit9bc520fc9041fed26ef965ef2420a0552ccc20d6 (patch)
tree945fce5215ade509b0a573f9c64c1dbbf0f6d368 /sample/src/main/kotlin
parent36471abc904ff4aa3109bd06efbc3ed493f082b2 (diff)
downloadkau-9bc520fc9041fed26ef965ef2420a0552ccc20d6.tar.gz
kau-9bc520fc9041fed26ef965ef2420a0552ccc20d6.tar.bz2
kau-9bc520fc9041fed26ef965ef2420a0552ccc20d6.zip
More on swipe back
Diffstat (limited to 'sample/src/main/kotlin')
-rw-r--r--sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt8
1 files changed, 4 insertions, 4 deletions
diff --git a/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt b/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt
index db87a2d..dd95b18 100644
--- a/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt
+++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt
@@ -7,9 +7,7 @@ import ca.allanwang.kau.permissions.PERMISSION_ACCESS_COARSE_LOCATION
import ca.allanwang.kau.permissions.PERMISSION_ACCESS_FINE_LOCATION
import ca.allanwang.kau.permissions.kauOnRequestPermissionsResult
import ca.allanwang.kau.permissions.kauRequestPermissions
-import ca.allanwang.kau.swipe.kauSwipeOnCreate
-import ca.allanwang.kau.swipe.kauSwipeOnDestroy
-import ca.allanwang.kau.swipe.kauSwipeOnPostCreate
+import ca.allanwang.kau.swipe.*
import ca.allanwang.kau.utils.fullLinearRecycler
import ca.allanwang.kau.utils.startActivitySlideOut
import ca.allanwang.kau.utils.toast
@@ -40,7 +38,9 @@ class AnimActivity : AppCompatActivity() {
}
true
}
- kauSwipeOnCreate()
+ kauSwipeOnCreate {
+ edgeFlag = SWIPE_EDGE_ALL
+ }
}
override fun onPostCreate(savedInstanceState: Bundle?) {