Комментарии:
hi how to 6 menus in botttom navigation
ОтветитьCan someone help me? I have the exact same code as the video with, the only difference is that a fragment from a nav_graph to an another activity (HomeActivity) with another (surely in the future) nav_graph navigation. The problem is that all navigation function well but the AppBar and the BottomNavigationView doesn't display at the activity and seems like it only renders the pure fragment with the text. can someone help me?
ОтветитьPlease please & please share this code as github repository or any resource
ОтветитьWhat about `FragmentContainerView`? Should we use that instead from now on?
ОтветитьAmazing work, clear explanation! Thank you.
ОтветитьHi there i used your tutorial and it works perfectly but im facing the issue that it seems to override my start activity which is my login activity and launches this bottom navigation activity first each time. Is there any fix to this?
Ответитьa question if it appears blank that is wrong and tells me that I have an error in the part of the code but according to me if I copy everything well it says the following (dos not makes NavController be on 2131230923😢
Ответитьokay
Ответитьthank you
ОтветитьIf you add setOnItemSelectedListener for the menu, do you need then to manually add the transition to the fragments?
Ответитьgreat work bro i have created similar video on my channel if you have time do check it
Ответитьmay bottom navigation, navigate by swiping with Navigation component??
ОтветитьHello, I have a question, how can I update a values other fragments, for example i have an app that can save some tasks, so i have one fragment to show tasks and another one to set and save tasks, but fragment pages do not refreshed or reload so it problematic to me, to show the added or updated data instead of just switching fragment I am turning off the app and turn un, so how can I solve it?
ОтветитьPls code Java, thanks you very much
Ответитьapp crashed !!!
ОтветитьHow to add activity_main in place of first_fragment ?
Anyone ? Please help
This is awesome.
How about to swipe left and right those 3 fragments? I have no clue
to anyone whose app crashes when you do this.
change the navhost package tag in activity_main.xml to just fragment or your app will crash. thank you so much to the poster of this video. you were very clear and easy to understand. it was just that little detail in the tag that was driving me crazy cuz my app kept crashing. lol. hope this helps someone!
does this work for java?
Ответить