Separate your UI and code with Xamarin.Forms data binding

Update your UI when your data changes by using bindings and INotifyPropertyChanged. Update your data when your UI changes by using two-way bindings. Bind otherwise incompatible types by using IValueConverter.