Skip to content

Implementing BottomNavigation with nested Fragments.


BottomNavigation is an API similar to iOS's TabBarController.
This is a sample code that switches Fragment when selecting a tab in BottomNavigation.

The page I used as a reference.
Bottom Navigation Android Example using Fragments


  1. Creating a Tab with ListView in Kotlin
  2. Obtaining the current time(kotlin)
  3. Shadowing the action bar in Android apps
  4. Changing the Android app status bar