diff options
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 |