Issue
I am using the new navigation from android jetpack. In my nav graph I got my LoginFragment as start destination and my MainActivity as host. When I run the app the LoginFragment gets displayed. My question:
How can I navigate to other destinations from this fragment? I don't know how to access the navigation controller from a fragment.
Solution
The Navigation component codelab explains in details how to navigate between fragments.
Answered By - LiA
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.