This works. Thanks.
Post
Replies
Boosts
Views
Activity
Thanks! It helps me understand why I can't receive onDisappear.
After try your code, I still has a scenario that can't be solved.
Open a Window.
Open a ImmersiveSpace from window, window still exists.
Tap the close X button below the Hello World window. Window disappear but ImmersiveSpace still exist.
I didn't recieve onDisappear or inactive/background from ScenePhase. How can I know the Window is closed? I want to reopen the window but I don't know whether it is closed.
Thanks! It helps me understand why I can't receive onDisappear.
After try your code, I still has a scenario that can't be solved.
Open a Window
Open a ImmersiveSpace from window, window still exists.
Tap the close X button below the Hello World window. Window disappear but ImmersiveSpace still exist.
I didn't recieve onDisappear or inactive/background from ScenePhase. How can I know the Window is closed? I want to reopen the window but I don't know whether it is closed.
Thanks. Hope AVP will support this function in near future
Hi, is there any method that I can know which WindowGroup instance is closed when user clicking the close button beside the moving holder? I can use scenePhase to get the status of WindowGroup but don't know the value passed to it. Thanks @sha921