Android Jetpack Fragments & Navigation
Fragments in Android have had a weird history. When I started Android developing in 2015, the way to add a fragment was to use the FragmentManager and make a transaction getSupportFragmentManager() .beginTransaction() .add(R.id.main_container, new HomeFragment()) .commit(); And you’d have to load it into a container… Read More »Android Jetpack Fragments & Navigation