https://kotlinlang.org logo
#compose
Title
# compose
m

Mitchell Syer

01/11/2022, 4:12 PM
Hi, for navigation I am using the library called Voyager, because its simple and fits my requirements very well. But I am not sure at how I would go about setting a new root screen with it. My application starts with a login screen, and then that should be replaced with a different screen once the user finishes logging in. I have a found a few functions like Navigator.popAll() but that only pops until the current root composable, so I am not sure how to go about this.
😍 1
1
Fixed, I was suggested to use Navigator.replace and it fits my use-case perfectly
K 1
2 Views