Code format

This commit is contained in:
2020-03-11 15:11:40 +01:00
parent 7501fd9a57
commit 4ec690fc4c
2 changed files with 8 additions and 5 deletions

View File

@ -15,12 +15,9 @@ class ViewPager2Activity : AppCompatActivity() {
setContentView(R.layout.activity_viewpager2)
setSupportActionBar(toolbar)
val adapter =
ScreenSlidePagerAdapter(
this
)
val adapter = ScreenSlidePagerAdapter(this)
viewPager2.adapter = adapter
TabLayoutMediator(tabLayout, viewPager2) {tab, position ->
TabLayoutMediator(tabLayout, viewPager2) { tab, position ->
}.attach()
}