Commit 9065eeed authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 59917786
...@@ -651,7 +651,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, ...@@ -651,7 +651,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
} }
scrollToBottomAnimator.duration = 2000 scrollToBottomAnimator.duration = 2000
scrollToBottomAnimator.start() scrollToBottomAnimator.start()
}, 1000) }, 500)
mainHandler.postDelayed({ mainHandler.postDelayed({
val scrollToTopAnimator = ValueAnimator.ofInt(nsv.scrollY, 0) val scrollToTopAnimator = ValueAnimator.ofInt(nsv.scrollY, 0)
...@@ -661,7 +661,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener, ...@@ -661,7 +661,7 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
} }
scrollToTopAnimator.duration = 1500 scrollToTopAnimator.duration = 1500
scrollToTopAnimator.start() scrollToTopAnimator.start()
}, 3500) }, 3000)
val adapter = VipBannerAdapter(data) val adapter = VipBannerAdapter(data)
// 绑定生命周期 // 绑定生命周期
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment