Stuie
07/08/2022, 11:57 PMScreenConfig
sealed class for navigation, and a ComponentContext.router
that constructs the screen that is needed for every pop
and push
. This all works fine for a single window application, but now that I want a second window I'm having some trouble. I created a @Composable
with a Window
at the top-level, created an entry in the ScreenConfig
for it, as I did for other navigation destinations. When that destination is reached the initial window content becomes blank, and the new window appears correctly. I've used GitHub search but haven't managed to find a sample repository that handles multiple windows with Decompose. The only documentation I can find is unrelated Decompose.Adam Brown
07/09/2022, 2:46 AMStuie
07/09/2022, 3:17 AMArkadii Ivanov
07/09/2022, 7:59 AMStuie
07/09/2022, 6:18 PM