Covid Tracker App with modern MVVP Architecture
- This project is built on the principle of single activity. Compatible with MVVM architecture.
- In this project, data was taken from "https://covidtracking.com/api/v1/" api with retrofit. Example retrofit service and use on viewModel are as in the image.
- Spark view and SparkAdapter() used for this projects chart - com.robinhood.spark.SparkView
Some of the libraries used are: //spark for graphic implementation 'com.robinhood.spark:spark:1.2.0' //retrofit gson http implementation 'com.squareup.retrofit2:retrofit:2.9.0' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' implementation 'com.google.code.gson:gson:2.8.6' implementation 'com.squareup.okhttp:okhttp:2.7.5' implementation "com.squareup.retrofit2:adapter-rxjava2:2.9.0" //coroutines implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1" implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9"