Addo Well-Known Member Licensed User Longtime User Feb 16, 2021 #1 is there any event to know that the page is closed ? I know about this event B4XPage_CloseRequest, but In case the app destroyed how to determine the the page is destroyed as well. To be more clear i am planing to stop a service when a page closed so i need to know when exactly a page can be closed Last edited: Feb 16, 2021
is there any event to know that the page is closed ? I know about this event B4XPage_CloseRequest, but In case the app destroyed how to determine the the page is destroyed as well. To be more clear i am planing to stop a service when a page closed so i need to know when exactly a page can be closed
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2021 #2 No event will be raised when the process is killed. You can see the list of events here: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-744867 Upvote 0
No event will be raised when the process is killed. You can see the list of events here: https://www.b4x.com/android/forum/t...or-managing-multiple-pages.118901/post-744867
Addo Well-Known Member Licensed User Longtime User Feb 16, 2021 #3 What if i want to stop a foreground service if a specific page closed? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Feb 16, 2021 #4 You need to define "closed". CloseRequest is a good place for that. Upvote 0