NoteBook
This is My Architecture Components App where I have used Room + ViewModel+ LiveData+ Navigation Component + AsyncTask + WeakReference to make a NoteBook Application.
Install / Use
/learn @radhio-hoque/NoteBookREADME
Overview
This repository contains a architecture components app that implements MVVM architecture using Room + ViewModel+ LiveData+ RecyclerView + AsyncTask + WeakReference + ButterKnife + Navigation Component + SharedViewModel (A ViewModel That use for Communicate with Two Fragment).
<p float="left"> <img src="https://user-images.githubusercontent.com/32242297/88480206-64a75580-cf76-11ea-885a-4cb809c20a8e.jpg" width="270" height="600" /> <img src="https://user-images.githubusercontent.com/32242297/88481924-08e1ca00-cf80-11ea-8621-9f2dc90e00fc.jpg" width="270" height="600" /> <img src="https://user-images.githubusercontent.com/32242297/88480219-7983e900-cf76-11ea-83d6-3dfd8a170608.jpg" width="270" height="600" /> </p>The app has following packages:
- Repository: It is a class that isolates data sources.
- RoomDatabase: Room is a persistence library, part of the Android Architecture Components.
- UI: View classes along with their corresponding ViewModel.
- ViewModel: ViewModel is a class that is responsible for preparing and managing the data for an Activity or a Fragment.
Classes have been designed in such a way that it could be inherited and maximize the code reuse.
Library reference resources:
- lifeCycleComponents
- NavigationComponent
- Butterknife
- Room
