O'Reilly logo

Android Design Patterns and Best Practice by Kyle Mew

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Storage options

Nearly all apps have some form off settings menu that allow users to store regularly accessed information and customize the app to their own preferences. These settings can be anything from changing a password to personalizing the color scheme or any number of other tweaks and adjustments.

If you have a lot of data and access to a web server, it is often best to cache data from this source, as this will both save battery and speed up the application.

First and foremost, we should consider how these setting can save our user time. No one wants to have to enter all their details every time they order a sandwich, nor do they want to have to construct the same sandwich over and over. This leads to the question of how we represent a sandwich ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required