Skip to content

tensory/WhatsMySnack

Repository files navigation

What's My Snack?

A demo Android application.

Architecture

This application uses an MVVM approach built around Android data binding. Views are defined as XML resources with databinding to observable model instances.

Presenters serve as functional interfaces between view models where the view models need to communicate with each other or an Android component.

Dependencies

Data:

  • Android Room + LiveData
  • RoomAsset helps to load data from a source SQLite DB into Room

Domain:

  • Dependencies on data providers injected with Dagger2
  • Domain models are observable using Android data binding

Presentation:

  • View models implementing android.databinding.BaseObservable
  • XML layouts binding to model properties.

Other dependencies:

  • AssertJ assertions for unit-testing interactions on the SnackList model

About

Android application for a coding test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages