how to clear backstack with navigation compose library?
m
mattinger
10/27/2022, 6:31 AM
if you are trying to clear everything, it's likely to be something like this. Basically, you'd have to get the start destination's route, and just do pop and include the start destination (if you want to go back to the start destination, you can use false instead of true)