The Kotlin Android ViewPager development tutorial describes how to implement the ViewPager to swipe between Android Fragments.
This Kotlin on Android development tutorial follows on from the previous episode, ToolBar.
In this Kotlin on Android tutorial we will cover:
- Adding a ViewPager to the DrawerLayout
- Creating a FragmentPageAdapter class
- Setting a FragmentPageAdapter to a ViewPager
- Redirecting Drawer Layout request to the ViewPager API