Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/halilozel1903/covid19stats

Covid-19 Virus 🦠 App πŸ“± using Dagger Hilt, Coroutines, ViewModel, Lifecycle, LiveData, Retrofit based on MVVM Architecture. πŸ› 
https://github.com/halilozel1903/covid19stats

android-api-example android-app android-lifecycle android-mvvm android-mvvm-architechture android-mvvm-sample coroutines-android covid-19-api covid-19-data-analysis covid-19-tracker covid-api covid-data covid19 covid19-data dagger-hilt kotlin-android kotlin-android-application livedata-viewmodel picasso-api retrofit-2

Last synced: 6 days ago
JSON representation

Covid-19 Virus 🦠 App πŸ“± using Dagger Hilt, Coroutines, ViewModel, Lifecycle, LiveData, Retrofit based on MVVM Architecture. πŸ› 

Awesome Lists containing this project

README

        

# Covid19 🦠 Stats πŸ“‹

![Screenshot](https://github.com/halilozel1903/Covid19Stats/blob/master/screenshots/corona.jpg)

Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered coronavirus.
Most people who fall sick with COVID-19 will experience mild to moderate symptoms and recover without special treatment

It is an Android application that contains information about the Covid19 Virus. It contains detailed information about all countries.
Daily case numbers, death numbers can be learned. I code the project in Kotlin programming language. Retrofit, Picasso technologies are used.

## Which API are you using πŸ€”

I'm using this API in Android Application : https://corona.lmao.ninja
This Api is perfect. Build anything from console widgets to mobile applications with our free and easy to use API.

## Architecture πŸ›

**Model - View - ViewModel (MVVM)** is the industry recognized software architecture pattern that overcomes all drawbacks of MVP and MVC design patterns. MVVM suggests separating the data presentation logic(Views or UI) from the core business logic part of the application

![Screenshot](https://androidwave.com/wp-content/uploads/2019/05/mvvm-architecture-app-in-android.png)

## Libraries πŸ› 
![Screenshot](https://anteelo.com/wp-content/uploads/2021/05/Android-libraries.jpg)
- [Kotlin](https://github.com/JetBrains/kotlin) -> The Kotlin Programming Language.
- [Retrofit](https://github.com/square/retrofit) -> A type-safe HTTP client for Android and the JVM.
- [OkHttp](https://github.com/square/okhttp) -> Square’s meticulous HTTP client for the JVM, Android, and GraalVM.
- [Coroutines](https://github.com/Kotlin/kotlinx.coroutines) -> Library support for Kotlin coroutines
- [Lifecycle](https://developer.android.com/jetpack/androidx/releases/lifecycle) -> Perform actions in response to a change in the lifecycle status of another component, such as activities and fragments.
- [Dagger Hilt](https://developer.android.com/training/dependency-injection/hilt-android) -> Hilt provides a standard way to incorporate Dagger dependency injection into an Android application.
- [LiveData](https://developer.android.com/topic/libraries/architecture/livedata) -> LiveData is an observable data holder class.
- [ViewModel](https://developer.android.com/topic/libraries/architecture/viewmodel) -> ViewModel class is designed to store and manage UI-related data in a lifecycle conscious way.

## Modern Android Development Scorecard πŸ†

![Screenshot](https://github.com/halilozel1903/Covid19Stats/blob/master/screenshots/summary.png)

## Android Application Screens πŸ“±

When the application is opened, a screen listing all countries is shown. This screen shows how many people have died in total in the all countries so far. By swiping up and down on the main page, you can find out the number of people who died from corona virus in all countries.


You can find information about the desired country by clicking the search button at the top of the main page.


Clicking on the countries from the main page or search screen goes to the detail page. There is a variety of information on the detail page. These are as follows: **Today cases, Today death, Total test, Total case, Total deaths, Total recovered.**

## Donation πŸ’Έ πŸ’°

If this project help πŸ’ you to develop, you can give me a cup of coffee. β˜•

[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/halilozel1903)

## License ℹ️
```
MIT License

Copyright (c) 2023 Halil OZEL

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 NON INFRINGEMENT. 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.
```