diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-06 23:30:45 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-07-06 23:30:45 -0700 |
commit | 8f7cab78b5d1c882a1fa19330823e7d440343a62 (patch) | |
tree | 36db93b37faeef9ca8e54c3081695b76adb7af8d /sample/src/main | |
parent | 6555a738c44d8734a8043e36711a6765c5c8d948 (diff) | |
download | kau-8f7cab78b5d1c882a1fa19330823e7d440343a62.tar.gz kau-8f7cab78b5d1c882a1fa19330823e7d440343a62.tar.bz2 kau-8f7cab78b5d1c882a1fa19330823e7d440343a62.zip |
Add back logic for swipe
Diffstat (limited to 'sample/src/main')
-rw-r--r-- | sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt | 7 |
1 files changed, 2 insertions, 5 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 8ccaded..909e71b 100644 --- a/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt +++ b/sample/src/main/kotlin/ca/allanwang/kau/sample/AnimActivity.kt @@ -7,10 +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.SWIPE_EDGE_TOP -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 @@ -96,7 +93,7 @@ class AnimActivity : AppCompatActivity() { true } kauSwipeOnCreate { - edgeFlag = SWIPE_EDGE_TOP + edgeFlag = SWIPE_EDGE_LEFT } } |