Have you ever faced issues with fragment?
The Answer from all the techies would be “Yes”, because dealing with Fragments are not direct, simple and easy to implement. I know handling backstacks with add and replace are like “The Ghost and the darkness”.
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.
Yes, before this post peeped in :)
Ok! let's do some technical stuff. In this article, we’re gonna implement Bottom tabs with Fragments and nested Fragment transactions. Confused! Following Gif explains in a better way.
Yeah! Here if you see the above Gif, there are five tabs like Home, Search, Share, News and Profile. Selecting each tab options, respective Fragments are pushed. That’s obvious isn’t? Cool! If you notice keenly, I have assigned “CLICK ME” button for Home and News Fragments to showcase the behaviour of Nested Fragments Transactions inside same Fragments without losing its state. Let’s do it in a linear way.
I have plenty of reasons for the same as below:
A product development and growth expert, helping founders and startups build and grow their products at lightning speed with a track record of success. Apart from work, I love to network & Travel.
15 Actionable Tips To Hire Developers For Your Startup In 2023
In the 2023 tech industry, hiring developers for startups has become both a critical necessity and a formidable challenge. Developers are the heartbeat of any tech startup or a well-established organization. To curate and h...
SaaS Sales Strategies: Targeting Small vs. Enterprise Customers
Did you know that companies with less than 100 employees make up over 90% of businesses worldwide according to the World Bank? Given this huge small business landscape, it's no surprise that many SaaS companies focus their ...
Art of Offering Free Trials in SaaS: Best Practices & Pitfalls
Have you ever signed up for a free trial of a SaaS product, only to forget about it a week later and miss the conversion deadline? Or perhaps you've offered a free trial for your own SaaS, only to see dismal conversion rate...