FRND - Assignment
This is a repository that contains Android assignment of FRND.
Getting the sample code
Get the latest sample code from GitHub using Git or download the repository as a ZIP file.
git clone https://github.com/Kingbond470/FRND_TASK.git
Sample Image
Home | Create Task | Show Task |
Architecture
This app uses MVVM (Model View View-Model) architecture.
The app has following packages:
data: It contains all the data accessing and manipulating components.
di: Dependency providing - Hilt.
repository: Collect data from different data sources(APIs, local database storage) and provides data to the rest of the app
ui: View classes
utils: Utility classes.
viewmodel: retrieves the necessary data from the repository, responsible for preparing and managing the data
Note : Classes have been designed in such a way that it could be inherited and maximize the code reuse
Using Jetpack Architecture Components
LiveData
ViewModel
Library reference resources:
• Room: https://developer.android.com/topic/libraries/architecture/room.html
• ViewModel: https://developer.android.com/topic/libraries/architecture/viewmodel
• LiveData: https://developer.android.com/topic/libraries/architecture/livedata
• Buttons: Floating Action Button: https://material.io/components/buttons-floating-action-button/android
• Parallax: https://developer.android.com/reference/androidx/leanback/widget/Parallax
• DrawerLayout: https://developer.android.com/reference/androidx/drawerlayout/widget/DrawerLayout