A minimalistic app to show case Clean App Architecture while using the Jetpack Compose
Some of the popular libraries and MVVM clean architecture used with Room database as a source
-
Kotlin - First class and official programming language for Android development.
-
Coroutines - Threads on steroids for Kotlin
-
Flow - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.
-
StateFlow - A live data replacement
-
Android JetPack - Collection of libraries that help you design robust, testable, and maintainable apps.
- Paging3 - Load and display small chunks of data at a time.
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
- ViewBinding - A robust replacement for findViewById, kotlin sytnhetics and DataBinding
- Navigation Components - Navigate fragments as never easier before
- SavedStateHandle - A handle to saved state passed down to androidx.lifecycle.ViewModel.
- Room - Persistence library provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite.
-
Material Components for Android - Modular and customizable Material Design UI components for Android.
-
- Hilt-Dagger - Standard library to incorporate Dagger dependency injection into an Android application.
- Hilt-ViewModel - DI for injecting
ViewModel
.
-
Architecture
- Clean Architecture
- MVVM
- Offline with Room
-
Tests
- TODO
Support it by joining stargazers for this repository. ⭐
- Hristijan
- Thanks for the great project.
- mitchtabian philipplackner
- Keep on creating the awesome youtube content
All the code available under the MIT license. See LICENSE.
MIT License
Copyright (c) 2022 Pardeep Sharma
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.