https://github.com/blckclov3r/mvvm-room-simplenote
Notes Taking App using Room & MVVM Architecture
https://github.com/blckclov3r/mvvm-room-simplenote
Last synced: about 1 year ago
JSON representation
Notes Taking App using Room & MVVM Architecture
- Host: GitHub
- URL: https://github.com/blckclov3r/mvvm-room-simplenote
- Owner: blckclov3r
- License: mit
- Created: 2019-06-17T10:47:12.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-19T16:51:26.000Z (almost 4 years ago)
- Last Synced: 2023-03-08T19:33:33.779Z (over 3 years ago)
- Language: Java
- Homepage:
- Size: 138 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Note Taking App
## Notes Taking App using Room and MVVM Architecture
* Room
* Database: It is an abstract class annotated with @Database and extending RoomDatabase.
* Entity: It represents table in our database.
* DAO: It is an interface needed for every entity to access the database.
## What i learned
* Developed a user interface within the xml file using CoordinatorLayout, AppBarLayout, RelativeLayout, LinearLayout,
RecyclerView, ListAdapter, Custom LineEditText, EditText, Spinner & Button etc.
* Integrated setOnClick, setOnItemLongClick, OnTouch, Gesture, DoubleTapListener.
* This repository merging what i've learned by watching tutorials via codingwithmitch(SQLite 2019) and codinginflow(MVVM).
## Dependencies
* AndroidX
* Android support design
* implementation 'com.android.support:design:28.0.0'
* implementation 'com.google.android.material:material:1.0.0-beta01'
* Room components
* implementation "androidx.room:room-runtime:2.1.0"
* annotationProcessor "androidx.room:room-compiler:2.1.0"
* Lifecycle components
* implementation "androidx.lifecycle:lifecycle-extensions:2.0.0"
* annotationProcessor "androidx.lifecycle:lifecycle-compiler:2.0.0"