On Android, when binding the Text value to a view model property, the value doesn't update.
Use the following to reproduce:
// VIEW
<Label Text="RadEntry" />
<telerikInput:RadEntry x:Name="MyRadEntry"
Text="{Binding Username}"
Margin="0,0,0,20"/>
<Label Text="Xamarin.Forms Entry" />
<Entry Text="{Binding Username}"/>
// VIEW MODEL
public class ViewModel : NotifyPropertyChangedBase
{
private string username = "initial";
private int counter;
public ViewModel()
{
Device.StartTimer(TimeSpan.FromMilliseconds(500), (() =>
{
counter++;
Device.BeginInvokeOnMainThread(() =>
{
Username = $"{counter}";
});
return counter < 100;
}));
}
public string Username
{
get { return username; }
set { username = value; OnPropertyChanged();}
}
}
Update: Available in R1 2018 SP release.