Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session 6 #65

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Android Development/2020-21/Session 6.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Session 6
## *Topic :*
SharedPreference and Room Database

## Conducted on :
25-06-21 19:00

## *Agenda :* To understand the need and application of
Shared Preference and Room Database

## *Summary :*

//Resources: https://developer.android.com/training/data-storage/room

//Important Concepts discussed:
* Shared Preference is easy to handle and it stores data as key-value pairs.
* The data will persist even when the user closes the application
* getSharedPreference() is always global.
* SQLite Database is similar to storing data in Excel sheet.
* Entities are defined in Room using annotations.
* Primary key is a column by which each record is uniquely identified.
* Create, Read, Update and Delete are the basic functions performed using Database.
* DAO (Data Access Object) - Interface where queries are defined using
annotations.
* RoomDB is designed to work with all other architectural
components.

## Project:
An app to demonstrate the use of Shared Preference.
An app to demonstrate Room Database.

# Credits:

*Conducted by*: Mrinal Pathak, Pawan Raj

*Report compiled by*: Anisha Datta

*Attendees*: Abdullah, Anisha Datta, Ansh Tandon, Bhavya Agarwal, Ganta
Nikhil, Garvit Dua, Tarun Shrivastava, Saurav Kumar