Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 507 Bytes

lab4.md

File metadata and controls

11 lines (7 loc) · 507 Bytes

Lab 4 - Data Binding with INotifyPropertyChanged change notification

  1. Create / use a .NET Standard library with a model type, e.g. Book

  2. Create a BindableBase class, implement change notification (interface INotifyPropertyChanged)

  3. Derive the model type from BindableBase

  4. Xamarin Std. Library - create an instance of Book, create a variable

  5. Assign the BindingContext

  6. Create a Label and a Entry, using markup extension {Binding} to bind to one property of the model type