SkillAgentSearch skills...

InstaLikeFragmentTransaction

Easy Bottom Tab Navigation with back stack history

Install / Use

/learn @f22labs/InstaLikeFragmentTransaction
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

InstaLikeFragmentTransaction

Easy Bottom Tab Navigation with back stack history

InstaLikeFragmentTransaction is an open source repository with custom Bottom tab Fragment backstack transaction and stack history for Tabs.

What inspired me to write this post ?

The reason is “Instagram”. I love to play with Insta app since it is easy, robust and less screen navigation, which in turn collectively bottom tab navigation took the peek place in the Android community.

Fragment Child nested fragments push (CLICK ME) and pop (Back arrow pressed) behaviour

<a href="http://imgur.com/ParT0sR"><img src="http://i.imgur.com/ParT0sR.gif" title="source: imgur.com"/></a>

Fragment History Behaviour on back hardware soft key pressed

<a href="http://imgur.com/4CqPkF6"><img src="http://i.imgur.com/4CqPkF6.gif" title="source: imgur.com"/></a>

Why TabLayout instead of Design support BottomNavigationView?

  1. It’s not flexible.
  2. Random behaviour if there are less tab items.
  3. Customising text sizes and icon sizes are like a nightmare (Just try adding small sized icon for one tab and big sized icon for the other ;-) ).

For a tutorial, refer my blog post on https://blog.f22labs.com/instagram-like-bottom-tab-fragment-transaction-android-389976fb8759

View on GitHub
GitHub Stars200
CategoryDevelopment
Updated6mo ago
Forks52

Languages

Java

Security Score

72/100

Audited on Sep 29, 2025

No findings