Q :- what is Navigation component
in jetpack compose navigate between two composable function.
* NavHost :- It is area where compose screen will be render.
* NavGraph :- It is tells us where should be go from one screen to another
Like - If you have multiple screen like registration and login,forget password
then we should go registration screen to either login or forget passsword screen.
* NavController :- whatever interation has been done between using navHost and NavGraph
that can manage by NavController and its also manage the backstack.
No comments:
Post a Comment