raamcosta / compose-destinations

Annotation processing library for type-safe Jetpack Compose navigation with no boilerplate.
https://composedestinations.rafaelcosta.xyz
Apache License 2.0
3.23k stars 134 forks source link

Navigation Multi-stack clear #683

Closed Lokesh-30 closed 1 month ago

Lokesh-30 commented 2 months ago

i am using Bottom navigation with multi-stack

Some stacks are saved and restore on navigating between them, so is there a way to clear all the stacks that are saved in the savestate ?

raamcosta commented 1 month ago

Hey @Lokesh-30 👋

Sorry I'm not sure I understand the question but it doesn't seem like anything specific to Compose Destinations. You may want to check how to do this with official library and then it should be obvious how to achieve the same with this library.