CHAPTER 7

image

Application Lifecycle and Navigation

This chapter introduces the Universal Windows app events and lifecycle, covering the standard set of events that are raised when you start a Windows app and how to handle those events. The chapter covers how developers handle the suspension and termination of the app. It also covers how to save and restore the data during those events, which help developers provide a better user experience.

The chapter also covers the navigation model and explains how to build a single-page app that can contain multiple virtual HTML pages.

7.1 Application States and Events

Problem

You need to identify and subscribe ...

Get Windows 10 Development Recipes: A Problem-Solution Approach in HTML and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.