I have a dataform with a picker, but when I select it more than once it does not change value
private string categoria = string.Empty; [DisplayOptions(Group = "Categoria", Position = 1, ColumnSpan = 2, Header = "Categoria", PlaceholderText = "Categoria")] [DataSourceKey(nameof(CategoriaI))] public string Categoria { get { return this.categoria; } set { if (this.categoria != value) { this.categoria = value; this.OnPropertyChanged(); } } }
namespace Telerik.XamarinForms.Common{ public abstract class NotifyPropertyChangedBase : INotifyPropertyChanged { protected NotifyPropertyChangedBase(); public event PropertyChangedEventHandler PropertyChanged; protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null); protected bool UpdateValue<T>(ref T field, T value, [CallerMemberName] string propertyName = null); }}