I'm writing a UWP app to learn the new UWP platform. The main page of my app is a list the user can edit (classic commands like add/edit/delete + reorder). I need to save these items to a local storage or to OneDrive based on the user's choice when the user leaves the app and restore these items when the user returns to the app.
Obviously, the best moments when we can do that is when the main screen of the app is activated or deactivated. The question is: what event will work best for my purpose?
After learning some basics of the UWP platform, I see that the OnSuspending/OnLaunched events provided by the VS2015 UWP Blank App template are not appropriate events to save the list data. What events then? Page's OnNavigatedFrom/OnNavigatedTo I used to use in WP8 Silverlight apps? Or are there other events in the new UWP platform I can use for my needs?