mgrazianodecastro
02/18/2023, 8:47 PMnavController.navigate("${ROUTE}?arg=${true}")
is raising:
Wrong argument type for 'arg' in argument bundle. boolean expected.
what is the proper way of passing a boolean than?Stylianos Gakis
02/18/2023, 8:58 PMmgrazianodecastro
02/18/2023, 8:59 PMStylianos Gakis
02/18/2023, 9:02 PMcomposable()
in your nav graph?mgrazianodecastro
02/18/2023, 9:03 PMcomposable(route = ROUTE,
arguments = listOf(
navArgument("arg"){
type = NavType.BoolType
defaultValue = false
}
)
){...}
mgrazianodecastro
02/18/2023, 9:04 PMROUTE = someRoute?arg={arg}
yschimke
02/18/2023, 9:04 PMmgrazianodecastro
02/18/2023, 9:05 PMyschimke
02/18/2023, 9:06 PMmgrazianodecastro
02/18/2023, 9:07 PMmgrazianodecastro
02/18/2023, 9:07 PMmgrazianodecastro
02/18/2023, 9:07 PMStylianos Gakis
02/18/2023, 9:07 PMjw
02/18/2023, 10:13 PMStylianos Gakis
02/18/2023, 10:19 PMjw
02/18/2023, 10:27 PMjw
02/18/2023, 10:29 PMjw
02/18/2023, 10:29 PMStylianos Gakis
02/18/2023, 10:30 PMjw
02/18/2023, 10:33 PMjw
02/18/2023, 10:34 PMStylianos Gakis
02/18/2023, 10:38 PMjw
02/18/2023, 10:44 PMStylianos Gakis
02/18/2023, 10:55 PMjw
02/18/2023, 10:55 PMjw
02/18/2023, 10:56 PMJorge Cordero Camarena
02/18/2023, 10:56 PMStylianos Gakis
02/18/2023, 10:57 PMjw
02/18/2023, 10:59 PMStylianos Gakis
02/18/2023, 11:01 PMjw
02/18/2023, 11:03 PMStylianos Gakis
02/18/2023, 11:10 PMjw
02/18/2023, 11:12 PMStylianos Gakis
02/18/2023, 11:23 PMjw
02/18/2023, 11:28 PMStylianos Gakis
02/18/2023, 11:30 PMJan Skrasek
02/18/2023, 11:54 PMStylianos Gakis
02/19/2023, 12:40 AMmgrazianodecastro
02/19/2023, 12:47 AMJan Skrasek
02/19/2023, 7:19 AM