change the jump to next step

This commit is contained in:
unknown
2020-10-27 10:57:12 +08:00
parent 19bcc59a44
commit 924aeac847
4 changed files with 9 additions and 6 deletions

View File

@@ -55,8 +55,12 @@ class GuideFragment : MvpFragment<GuideConstract.View, GuidePresenter>(), GuideC
module_guide_page_right.setOnClickListener {
moveToNext()
}
module_guide_tv_jump.setOnClickListener {
closeGuideFragment()
module_guide_tv_next_step.setOnClickListener {
if( (moduleGuideViewPager.currentItem + 1) == adapter!!.itemCount){
closeGuideFragment()
}else{
moveToNext()
}
}
}