Book Image

Cross-platform UI Development with Xamarin.Forms

By : Paul Johnson
Book Image

Cross-platform UI Development with Xamarin.Forms

By: Paul Johnson

Overview of this book

Table of Contents (22 chapters)
Cross-platform UI Development with Xamarin.Forms
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
1
In the Beginning…
Index

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).