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.
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.
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
- Kotlin -> The Kotlin Programming Language.
- Retrofit -> A type-safe HTTP client for Android and the JVM.
- OkHttp -> Square’s meticulous HTTP client for the JVM, Android, and GraalVM.
- Coroutines -> Library support for Kotlin coroutines
- Lifecycle -> Perform actions in response to a change in the lifecycle status of another component, such as activities and fragments.
- Dagger Hilt -> Hilt provides a standard way to incorporate Dagger dependency injection into an Android application.
- LiveData -> LiveData is an observable data holder class.
- ViewModel -> ViewModel class is designed to store and manage UI-related data in a lifecycle conscious way.
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.
If this project help 💁 you to develop, you can give me a cup of coffee. ☕
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.