When applications create or capture data from user inputs, those data will only be available during the lifetime of the application. You only have access to that data as long as the application is not yet killed by the runtime. When the application is shut down, all the data that has been created while the application was running will be lost. Android offers a variety of ways for us to persist data so that it can outlive the application lifetime and allow us access to the same data across application life cycles. The storage options
available to use are listed in Table 10-1 ...
Get Learn Android Studio 3: Efficient Android App Development 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.