Skip to content

Kotlin Android app demonstrating the MVVM pattern with lifecycle aware ViewModels and data binding. Includes auto-generated documentation: see this blogpost for more info: https://medium.com/@julesrosser/auto-generate-kotlin-android-documentation-with-dokka-382248c03283

Notifications You must be signed in to change notification settings

Julesssss/Android-MVVM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Kotlin Android app demonstrating the MVVM pattern with lifecycle aware ViewModels and data binding. Includes auto-generated documentation: see this blogpost for more info: https://medium.com/@julesrosser/auto-generate-kotlin-android-documentation-with-dokka-382248c03283

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages