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

Viktor Petrovski

01/20/2022, 2:57 PM
Lets say I want to design a top level pop-up, like an in-app notification that should show on top of every screen regardless where the current user is navigated. How would you design your composable? Is this something I want to setup when configuring the NavHost in the MainActivity? 🤔
1
c

Colton Idle

01/20/2022, 7:02 PM
I haven't had to implement something like this, but my guess would be the same as yours, yes. If you want to show some composable over top of every other composable, then you'd need that over top. If you use compose Nav then it seems like you just put it on that level.
4 Views