Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

For Beginners: App Architecture

Anselm Binninger edited this page Feb 9, 2018 · 1 revision

This page shall give an overview of the app :)

Current

Currently the app works as follows:

  1. Upon boot the BackgroundService fetches all required data from the remote endpoints and stores it using Managers and Room in the local database
  2. Activities use the Managers (See Room Database Access for more information about how) to load data from the local database

Communication Flow Overall Architecture

  1. After that, on every application start or reboot the app will check if the data is outdated and eventually replace it.

Future

The aspiration is to also introduce MVVM for all activites to get rid of any data access on the main thread. See Room Database Access for more information