~/talk

How to use MVVM pattern in Android

Talkat droidcon Berlin 2015 · 2015-06-15..06-17· [frontend-architecture]
links:none on file
slides:none on file

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

  1. 0:00Intro
  2. 2:17Model View Presenter
  3. 3:15Let's define view interface
  4. 3:28Implement presenter
  5. 5:04Say hello to Model-View-View Model
  6. 8:08MVVMCross - Activity (View)
  7. 8:34MVVMCross - Activity (Layout)
  8. 9:11MVVMCross - View Model
  9. 13:00RoboBinding - setup #2
  10. 17:04ngAndroid
  11. 18:49Bindroid
  12. 23:01Android Data Binding Library - how to start
  13. 24:28Android Data Binding Library - there is more
  14. 28:15Takeaway #1
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.