Aug.11
Interview: Android – Storage
Question: What is Persistent Storage?
Persistent Storage is any data storage device that retains data after turning-off power. It is also sometimes refers to non-volatile storage.
Question: What is SharedPreferences?
SharedPreferences is a library from Android which allows to save and retrieve data in the form of key-value pair in a application. It stores data persistently.
Question: What is SQLite?
SQLite is a opensource SQL database that provides a relational database management system. It stores data in a text file on a device. Android comes in with built-in SQLite database.
Question: What is Room?
Room provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite. It is an ORM (Object Relational Mapper) for SQLite database in Android.