/RoomDemo

Note taking app with Room persistence library.

Primary LanguageJavaMIT LicenseMIT

Note taking app with android Room library

The Room library acts as an abstract layer for underlying SQLite database.

To get started with room database implementation follow:

Making a Notes App Using Room Database guide published on Pluralsight

Note: This project is using AsyncTask which has been deprecated in Android R(aka Android 11) so follow room-demo-repo for udpated codebase.

Introduction

Room is a part of android framework to enhance the database integration with the support of android component to follow the best practices for database oriented apps. Room architecture can be defined as

Room Architecture

RoomDemo demonstrates the CRUD operations to perform:

  • Retrieve and display list using recyclerview

insert and display list

  • Insert, Update and Delete note records from database

update and display list

Note: Follow room-demo-repo for best practices as RoomDemo is using AsyncTask which has been deprecated in API level R.

LICENSE

MIT License

Copyright (c) 2018 Pavneet Singh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.