Cover by Andrew Whitechapel and Sean McKenna

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

Chapter 4. Data binding and MVVM

Sooner or later, your app will need to present data in the user interface (UI). Most modern programming frameworks provide mechanisms to make rendering data in the UI simple and robust. At the same time, these frameworks promote better engineering practices by cleanly separating the data from the UI, establishing standard mechanisms for connecting the data and UI in a loosely coupled manner, and ensuring that components consuming the data are conveniently notified of any changes (either initiated in the UI or from the underlying data source) so that the app can take appropriate action. The feature that carries out all this cool behavior is called data binding. This chapter examines the data-binding support in the ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required