Commit e23ef5e8 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent ef207f8e
......@@ -333,12 +333,10 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
if (UserManager.getInstance().newFlag
&& vipList != null && vipList!!.size > 0
) {
vipAdapter.setPosition(0)
vipAdapter.notifyDataSetChanged()
val vipBean = vipList!![0]
setVipContent(vipBean)
backPayYesDialog(vipBean)
return true
}
......@@ -360,7 +358,6 @@ class VipActivity : BaseActivity(), VipView, View.OnClickListener,
vipAdapter.setPosition(0)
vipAdapter.notifyDataSetChanged()
val vipBean = vipList!![0]
setVipContent(vipBean)
backPayYesDialog(vipBean)
} else {
finish()
......
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