Skip to content

bikramnew/DigitalTwins

Repository files navigation

Digital Twins - Modern Android Architecture

Digital Twins is a sample project that provide users with a list of digital twins of their belongings. It allow users to easily add or discard these digital twins via a minimalist and user-friendly interface. Also, the app allows to persist this data locally so that users can access it even after closing the app (See demo folder).

This project presents a modern approach to Android app development. The project tries to combine popular Android tools and to demonstrate best development practices by utilizing up to date tech-stack like Compose, Kotlin Flow etc.

The sample app layers its presentation through MVVM presentation pattern. Additionally, the application features animations while displaying row items or other effects while swiping row items.

Description

Presentation pattern layers

  • View - Composable screens that consume state, apply effects and delegate events upstream.
  • ViewModel that manages and set the state of the corresponding screen. The ViewModel is scoped to the lifetime of the corresponding screen composable in the backstack.
  • Model - Data source classes for digital twins.