How to use MVVM pattern in Android

06/04/2015 - 16:15 to 16:55
Stage 2

Session abstract: 

I would like to show how to use Model-View-ViewModel (MVVM) design pattern on the Android platform. Using this aproach UI code is easier to read, test and maintain.

I will show how it can help to:

  • remove lots of unnecessary code
  • not write boilerplate code any more
  • turn Android unit tests running for ages into pure POJO PresentationModels with normal JUnit tests

I will present framework which helps to achieve this goals and how to configure gradle build script to use it.