diff options
author | Allan Wang <me@allanwang.ca> | 2017-07-05 21:19:40 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-07-05 21:19:40 -0700 |
commit | 2ca2598a374de0cbf91526fbbce328f28d6de1ab (patch) | |
tree | 3877e3ff55b56217100a95c64c217eaf292f3dc8 /core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt | |
parent | 82a98786f301cd8e7fcafc44bf760f0434bd2eb2 (diff) | |
download | kau-2ca2598a374de0cbf91526fbbce328f28d6de1ab.tar.gz kau-2ca2598a374de0cbf91526fbbce328f28d6de1ab.tar.bz2 kau-2ca2598a374de0cbf91526fbbce328f28d6de1ab.zip |
Update headers
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 | 5 |
1 files changed, 2 insertions, 3 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 761e565..c4e637b 100644 --- a/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt +++ b/core/src/main/kotlin/ca/allanwang/kau/swipe/SwipeBackPage.kt @@ -7,7 +7,8 @@ import android.view.ViewGroup /** * Created by Mr.Jude on 2015/8/3. - * 每个滑动页面的管理 + * + * Updated by Allan Wang on 2017/07/05 */ class SwipeBackPage(activity: Activity) : SwipeBackContract by SwipeBackLayout(activity) { @@ -41,8 +42,6 @@ class SwipeBackPage(activity: Activity) : SwipeBackContract by SwipeBackLayout(a else swipeBackLayout.removeFromActivity(activity!!) } - - //触发关闭Activity百分比 fun setClosePercent(percent: Float): SwipeBackPage { swipeBackLayout.scrollThreshold = percent return this |