Chapter 8. What a Bind!
In terms of a messenger app, to make it of any use at all, we will need to display data; this can be the message thread, the message itself, or any other part of the application (such as our contacts held). This can be very time consuming. Thankfully, we are able to leverage the BindingProperty
of most UI elements. This means that we can cut down on the code required to generate what we need.
In this chapter, we will:
Learn how to use binding
Understand how binding makes life simpler
Implement binding to our data to create our UI
Note
Before carrying on, it may be worth familiarizing yourself with an example message data structure (a copy is available in Chapter8/Message
).