Home / Programming

Programming

Android Settings Preferences Tutorial

Android Settings Preferences Tutorial

Now that we know more about data persistence in android, it is clear that shared preferences is a promising option for saving user settings/preferences. This is because shared preferences saves data between app restarts, even when something drastic happens like when the devices loses power. Shared Preferences was built with …

Read More »

Data Persistence in Android

Data Storage Devices

Persisting data is the act of saving data to the phone. 5 ways to Persist Data on Android 1. Persisting Data using SavedInstanceState This allows you to save key-value pairs, to store the state of one of your views. Usually used to save the state of things during things like …

Read More »

All you need to know about RecyclerView + Example

Welcome to RecyclerView! What is a RecyclerView? RecyclerView is a container for displaying large data sets that can be scrolled (vertical or horizontal) very efficiently by maintaining a limited number of views. An Adapter is necessary to pull content from a source such as an array or database. An adapter actually bridges between …

Read More »