Stock Market App demonstrates modern Android development based on MVVM architecture
The purpose of this repository is to demonstrate below:
- Implementation of Android architecture components with Jetpack libraries, such as Hilt and Jetpack Compose.
- Performing background tasks with Kotlin Coroutines.
- Minimum SDK level 21.
- 100% Kotlin based + Coroutines + Flow for asynchronous.
- Hilt for dependency injection.
- Jetpack
- Lifecycle: Dispose observing data when lifecycle state changes.
- ViewModel: UI related data holder and lifecycle aware.
- Room: Constructs Database by providing an abstraction layer over SQLite to allow fluent database access.
- Hilt: Dependency Injection.
- Architecture
- MVVM Architecture: View - DataBinding - ViewModel - Model
- Repository pattern
- Retrofit2 & OkHttp3: Construct the REST APIs and paging network data.
- Moshi: A modern JSON library for Kotlin and Java.