0% found this document useful (0 votes)
3 views1 page

Component Navigation

The document outlines various components and actions related to navigation in Android development using XML and Kotlin. It includes instructions for setting up navigation graphs, adding destinations, handling deep links, and managing navigation actions with safety and listeners. Key concepts such as NavController, NavOptions, and integrating navigation with UI elements like Toolbars and Bottom Navigation Bars are also discussed.

Uploaded by

Maria Cecilia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Component Navigation

The document outlines various components and actions related to navigation in Android development using XML and Kotlin. It includes instructions for setting up navigation graphs, adding destinations, handling deep links, and managing navigation actions with safety and listeners. Key concepts such as NavController, NavOptions, and integrating navigation with UI elements like Toolbars and Bottom Navigation Bars are also discussed.

Uploaded by

Maria Cecilia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Componente de Navegacion

XML code
Depe. NavGraph Activity Fra code activity fragment
set action con add set navigate con crear un set up la
basica set una grafica add contenido set navigate con set boton de
popUpTo y bar set un navController deeplink y NavHostFragment en navegacion de
s de navegacion navhost deeplink Toolbar
popUpToInclusive app NavOptions runtime app bar
usar add destino para set Navigation con id get una referencia a get los arg.
add un destino crear un set un navigate con set navigate con
type navegacion extras-transition a un destino almacenado crear toolBar recibidos en un
fragmento toolbar action DeepLinkRequest
Safety condicional un fragment en el stack fragmento
usar set Collapsing set navigate con set Navigation con id add un listener a una pasar resultado
set un accion set argumento al set NavController CollapsingToolb
kotlin ToolbarLayout NavDirections y con extras-transicion referencia destino del a dest. previo
fragmento destino fragmento con up y back arLayout
dsl en toolbar type_safety a activity stack del stack
add un add dato al SavedState add soporte de navBackStackEnt
add un destino set action global set navigate con id y set multiples handle boton de top
navigator Handle del dest previo navegacion a la ry y listeners
dialog fragment con safe args arg backstack app bar
drawer ubicado en el stack action bar con DialogFragm
add un destino add destino start, set navigation bind el Drawer Layout get ViewModel scoped a handle la
crear bottom set navigate con
activity pasar y recuperar con action en al NavGraph by la grafica de navegacion up
navigation bar action
explicito datos fragment AppBarConfiguration navegacion en Action bar
add dest activity set action con set hosting set navigate con set navigation add un listener turn una grafica de bind MenuItem y
implicito animacion for dsl kotlin action globañ con typesafety basado en argumentos navegacion en runtime un Destino
add dest activity set navigate con set navigation bind Drawer
add top app bar a set un Listener en
implicito con URL NavDirections by type con id y arg Layout y
destino fragmento NavController
dinamico safety bundle NavController
set un menu item y crear deeplink crear una grafica de bind Bottom
set una action
un destino set navigate con id explicito con navegacion NavigationView
global
fragmento PendingIntent dinamicamente y NavController
add destino Nav set un listener set navigate con crear deepLink crear constantes para
Graph by include basado en args action con NavController la NavGraph
set action con add NavGraph que se set navigate con crear deeplink
navegar by DSL
options modifica en runtime action,arg,NavOptions implicito

You might also like