Crypto tracker app
MVVM (Model - ViewModel - View) is the design pattern used for making this app. MVVM provides a clear separation of concern and has great support in Android SDK in the form of Architecture Components.
- Architecture - A collection of libraries that help you design robust, testable, and
maintainable apps.
- Data Binding - Declaratively bind observable data to UI elements.
- LiveData - Build data objects that notify views when the underlying database changes.
- Room - Access your app's SQLite database with in-app objects and compile-time checks.
- ViewModel - Store UI-related data that isn't destroyed on app rotations. Easily schedule asynchronous tasks for optimal execution.
- Dagger - For Dependeny Injection
- Navigation - Handle everything needed for in-app navigation.
- Third party
- Glide for image loading
- Kotlin Coroutines for managing background threads with simplified code and reducing needs for callbacks
- MPAndroidChart to chart the financial data
- Retrofit for making HTTP requests
There are 2 versions of this project. One uses dagger-android for dependency injection, another one uses dagger-hilt. You see that dependency injection with dagger-hilt is simpler.
Sample | Description |
---|---|
dagger-hilt | Dagger Hilt version |
dagger-android | Dagger Android version |
If you like my work, feel free to support it!
-
BTC: 1PUGs6mxcW2W3SJi95aG8GvRQRJsoFHWWQ
-
ETH: 0x66615e09f7f46429e7620ffbf78479879bbab41d
-
LTC: LRxYMgEXMumwxYdimZo9EJ5CfBcipD5c3n