Issue
Its possible to fire an event before the app closes? For exemple in my App i want so send a request to my api when the App closes to change the user state to offline.
Thanks!
Solution
In xamarin you have one override method in App.xaml.cs called onsleep you can put your code there but it will trigger when your app goes in background also.
Answered By - KD_
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.