作者 liyan

排行榜页面添加返回监听

... ... @@ -32,6 +32,10 @@ class LeaderboardActivity : BaseLifeCycleActivity<LeaderboardViewModel, Activity
searchResultAdapter.addTitle(titles)
viewPager.adapter = searchResultAdapter
tabLayout.setupWithViewPager(viewPager)
back.setOnClickListener({
finish()
})
}
}
... ...