How to use MVVM pattern in Android
summary
Claims that MVVM cuts boilerplate, makes UI code testable as POJOs and turns slow Android UI tests into fast JUnit tests. Compares MvvmCross (Xamarin cross‑platform reuse but C# only), RoboBinding (Java compile‑time codegen, no RecyclerView support), NG Android and bindroid. Describes Google Android Data Binding beta: code generation, expression language and compile‑time checks, but currently no two‑way binding and some IDE ID issues. Demo wires Data Binding to RecyclerView after about two hours and runs.
AI-written summary · about
chapters (14)
- 0:00Intro
- 2:17Model View Presenter
- 3:15Let's define view interface
- 3:28Implement presenter
- 5:04Say hello to Model-View-View Model
- 8:08MVVMCross - Activity (View)
- 8:34MVVMCross - Activity (Layout)
- 9:11MVVMCross - View Model
- 13:00RoboBinding - setup #2
- 17:04ngAndroid
- 18:49Bindroid
- 23:01Android Data Binding Library - how to start
- 24:28Android Data Binding Library - there is more
- 28:15Takeaway #1








