Skip to content

COVID-19 Stats App using MVVM architecture to show statistics about the current pandemic.

Notifications You must be signed in to change notification settings

VictorKabata/COVID19StatApp

Repository files navigation

COVID-19 Stat App

An android app consuming a Covid-19 Stats API to display realtime statistics of Covid-19 in all affected countries and global statistics.

It has been built using MVVM architecture and repository pattern as well as various jetpack components.

You can download the final apk here.

Min Api Level: 19 - Android version 4.4 (Kitkat) Supports over 98.1% of devices

App Demo

Splash Screen.

The splash screen show various tip regarding the app and the current global pandemic.

Global Statistics Fragment.

This fragment show the global statistics of the Covid-19 pandemic.

Countries Statistics Fragment.

This fragment show the statistics of the Covid-19 pandemic in all affected countries. You can also search for a specific country.

Covid-19 Info Fragment.

This fragment show some information about the Covid-19 virus and how it is spread. It also show some information on how to prevent infection and some common symptoms of infection.

Settings Fragment.

This fragment allows the user to change the app theme between light and dark theme. The user can also send a user to the developer regarding feature request or feedback. The user can also see social media link to the developer and more information about the developer.

Tools and Libraries

  • Makes use of Android Jetpack Components like:

    • Livedata- Handle data in a lifecycle-aware fashion.
    • Room- For offline persistance of data fetched from the network source.
    • Viewmodel- Manage your UI's data in a lifecycle-aware fashion.
    • Databinding- Minimize the glue code necessary to bind your application logic and layouts.
    • Navigation- Reduces the boilerplate code that was used to handle navigation and passing of data from one activity/fragment to another.
  • Android KTX for more fluent use of Android APIs

  • Retrofit/OkHttp for networking

  • Kodein for dependency injection

  • ConstraintLayout 2.0

  • Designed and built using Material Design tools and components

Prerequisites

You will need the following to run this project:

  1. A laptop or desktop machine with internet access
  2. Android Studio Stable Channel (Latest Stable Release)

Setting Up

  • Clone the Repository from Github
  • Open the project folder using Android Studio IDE

Inspiration

This came when i needed stats of the current Covid-19 global pandemic.

About

COVID-19 Stats App using MVVM architecture to show statistics about the current pandemic.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages