Skip to content

Covid-19 Dashboard is a simple Android application which shows the current case counts of various countries and also global case counts. It is built using Modern Android development tools.

License

Notifications You must be signed in to change notification settings

the-it-weirdo/Covid-19_Dashboard

Repository files navigation

Covid-19 Dashboard

GitHub license Github Followers GitHub stars GitHub forks GitHub watchers

Covid-19 Dashboard is a simple Android application 📱 which shows the current case counts of various countries and also global case counts. It is built using Modern Android development tools. Dedicated to all Android Developers with ❤️.

Main Screen Region List Screen Main Screen (Dark Mode 🌗)

About

  • It simply loads Total and New Confirmed cases, Recoverd cases and Deaths from API.
  • It supports dark mode too 🌗.
  • It is offline capable (Locally stored using Room).

Built With 🛠

  • Kotlin - First class and official programming language for Android development.
  • Coroutines - For asynchronous stuffs.
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • LiveData - Data objects that notify views when the underlying database changes.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
    • Room Persistence Library - The Room persistence library provides an abstraction layer over SQLite to allow for more robust database access while harnessing the full power of SQLite.
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Moshi - A modern JSON library for Kotlin and Java.
  • Moshi Converter - A Converter which uses Moshi for serialization to and from JSON.
  • WorkManager - The WorkManager API makes it easy to schedule deferrable, asynchronous tasks that are expected to run even if the app exits or device restarts.
  • Material Components for Android - Modular and customizable Material Design UI components for Android

Package Structure

dev.kingominho.covid_19dashboard    # Root Package
.
├── database                  # Database entites and Database classes and database interface
├── domain                    # data classes for using in views
├── network                   # API service and network classes
├── repository                # Repository to handle data from network and local dabase
|
├── ui                        # Activity and Fragments/View layer  
│   ├── about                   # About screen and supporting classes
│   ├── dashboard               # Dashboard screen and supporting classes
│   └── regionList              # Region List screen and supporting classes
├── util                      # Utility Classes / Kotlin extensions
├── viewmodel                 # App viewmodel
└── worker                    # Worker class.

Credits

Thanks to

Attributions

License

MIT License

Copyright (c) 2020 Debaleen Das Spandan

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 NONINFRINGEMENT. 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.

About

Covid-19 Dashboard is a simple Android application which shows the current case counts of various countries and also global case counts. It is built using Modern Android development tools.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages