I want to create an app where I use a bottom navigation bar and a tabView for each selected bottom option. I‘m not sure how to set it up properly, I thought about opening activities for each option of the bottom Navigation and working with fragments for the tabs. Is it recommendable to do it that way, or are there better ways to handle it? Is it possible to use fragments for the bottom bar and use even more fragments for the tabView?
Asked
Active
Viewed 93 times
0
-
It's not recommended to use activities with `BottomNavigationView`, you can use as many fragments as you like, even fragments inside fragments. – Suleyman May 10 '18 at 18:53
-
here is an example @LieForBananas https://stackoverflow.com/questions/6672066/fragment-inside-fragment – May 10 '18 at 19:16
-
@Eminem I don't understand, why did you tag me? :) – Suleyman May 10 '18 at 19:27
-
@LieForBananas couse you still lie,for bananas,stop it – May 10 '18 at 19:28
-
@Eminem I will never stop lying for them :) But you can have nested fragments :) – Suleyman May 10 '18 at 19:38
-
Thanks to you :) can you tell me what‘s the advantage of nested fragments? – user9582784 May 11 '18 at 19:01