Sign in Go Pro

Android Model-View-ViewModel Pattern

Introduction to MVVM for Android with Data Binding

 
Autoplay

Up next

About

MVVM is a design pattern for organizing GUI applications that has become popular on Android.

This lesson will introduce you to the main 3 components of MVVM, the View, Model, and ViewModel. You'll learn about what they are and how they interact with each other. we finish up with a preview of the sample application we'll be building together in this course.

In this lesson you will learn :

Model

  • Definition, roles and responsibilities.
  • What should go in your model layer and what shouldn't.
  • Benefits of model isolation and how it affects testing.

View

  • Definition, roles and responsibilities.
  • How it interacts with the ViewModel.

ViewModel

  • Definition, roles and responsibilities.
  • How it supports the View, by providing actions and observable state.
  • Interactions with the Model.
  • Isolation from the View.

Comments

Thanks Eric, great course!

Thank you Eric, one of the best courses!

>
You need to go PRO to post comments.

Lessons in Android Model-View-ViewModel Pattern