Automatic lifecycle management for pages on a mobile application
First Claim
1. A computer-implemented method comprising:
- generating an instance of a user interface page, for an application, on a mobile device;
registering an identification of page state information in a data structure, the page state information corresponding to the instance of the user interface page;
receiving an indication of a request to navigate away from the instance of the user interface page for the application;
based on the instance of the user interface page, storing values, for the page state information registered in the data structure, wherein the values are stored in an instance-specific data structure corresponding to the instance of the user interface page;
receiving an indiction of a request to navigate back to the instance of the user interface page of the application;
based on the indiction of the request to navigate back to the instance of the user interface page, accessing the instance-specific data structure corresponding to the instance of the user interface page; and
generating the instance of the user interface page using the values for the page state information stored in the instance-specific data structure.
2 Assignments
0 Petitions
Accused Products
Abstract
User interface state (UI) information (such as UI control values) are stored and revived when the user navigates and returns to an application. When an instance of a page is created, the page registers with a tombstone list and indicates which page state information on the page is to be stored and revived when a user navigates away from the application. When the user provides an input indicating navigation away from the application, the application accesses the tombstone list and stores the UI page state information. UI page state information is stored in a page state dictionary data structure that corresponds to the current instance of the page. Then, when the user navigates back to the application, the application accesses the page state dictionary and restores the values of the UI page state information so that the user interface display is in the same state as when the user navigated away from the application.
-
Citations
20 Claims
-
1. A computer-implemented method comprising:
-
generating an instance of a user interface page, for an application, on a mobile device; registering an identification of page state information in a data structure, the page state information corresponding to the instance of the user interface page; receiving an indication of a request to navigate away from the instance of the user interface page for the application; based on the instance of the user interface page, storing values, for the page state information registered in the data structure, wherein the values are stored in an instance-specific data structure corresponding to the instance of the user interface page; receiving an indiction of a request to navigate back to the instance of the user interface page of the application; based on the indiction of the request to navigate back to the instance of the user interface page, accessing the instance-specific data structure corresponding to the instance of the user interface page; and generating the instance of the user interface page using the values for the page state information stored in the instance-specific data structure. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A mobile device, comprising:
-
a processor; and memory storing instructions executable by the processor, wherein the instructions configure the mobile device to; generate with first and second user interface pages for an application, wherein each of the first and second user interface pages comprises storage and revival functionality for storing and reviving user interface page state information corresponding to the respective user interface page; receive an indication of a request to navigate away from the application; based on the indication of the request to navigate away from the application, storing user interface page state information from one of the first or second user interface page, that is open in the application; receive in an indication of a request to navigate back to the application; and based on the indication of the request to navigate back to the application, restoring the stored user interface page state information to the one of the first or second user interface page. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. A hardware computer readable storage medium, storing computer readable instructions which, when executed by a computer, cause the computer to perform steps comprising:
-
generating an instance of a user interface page, for an application, for display on a mobile device; registering an identification of page state information types in a data structure, the page state information types corresponding to the instance of the user interface page; receiving an indication of a request to navigate away from the instance of the user interface page for the application; based on the instance of the user interface page, storing page state values, for the page state information types registered in the data structure, wherein the page state values are stored in an instance-specific data structure corresponding to the instance of the user interface page; receiving an indication of a request to navigate back to the instance of the user interface page of the application; based on the indication of a request to navigate back to the instance of the user interface page, accessing the instance-specific data structure corresponding to the instance of the user interface page; retrieving the page state values stored in the instance-specific data structure; restoring the retrieved page state values to the instance of the user interface page; and generating the instance of the user interface page using the restored page state values from the instance-specific data structure. - View Dependent Claims (19, 20)
-
Specification