Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 1.2 KB

README.md

File metadata and controls

30 lines (17 loc) · 1.2 KB

Android MVVM

Kotlin Android application demonstrating the MVVM pattern with Android Architecture ViewModels and data binding.

Developed using Test Driven Development process for faster development cycle, simpler debugging and high test coverage.

Architecture

MVVM

Android Arch ViewModel (1.1.1)

Testing

Junit (4.12)

Mockito (2.11.0)

Espresso (3.0.2)

Documentation

The following docs were auto generated with the Dokka plugin

Documentation

Notes

  • The use of AndroidViewModel means that state persistence on config change is handled for us.
  • A ViewModel must never reference a view, Lifecycle, or any class that may hold a reference to the activity context.source. This is solved by using AndroidViewModel as a base ViewModel class as it provides easy access to the application context.