Fragment

  1. Home
  2. chevron_right
  3. Fragment

Android: Add Tabs using TabLayout

Tutorial
In this tutorial we will see how to add tabs to a project by using TabLayout together with ViewPager, and some other new views from the design library đŸ™‚ Before…

Clear Fragment back stack

Snippets
To clear the Fragments back stack of a FragmentManager, you could iterate through all back stack items and call popBackStack() but there is also a more elegant solution. Please see…