Hi
Andrew,
Thank
you for reaching out to us.
We
have reviewed the sample application you shared, and based on the code provided,
the behavior is working as expected on our end. For your reference, we have
attached a video demonstrating this.
If
you are still experiencing the issue, we recommend updating the date value
within the OnNavigatedTo method using `MainThread.BeginInvokeOnMainThread`.
This ensures that the binding is applied after the view has been fully
rendered.
Example
code:
|
protected
override void OnNavigatedTo(NavigatedToEventArgs args)
{
base.OnNavigatedTo(args);
// Defer the
binding updates to ensure the view is fully rendered
MainThread.BeginInvokeOnMainThread(() =>
{
if (vm.LastReadDate != DateTime.MinValue)
{
vm.ReadingQuickLinks.Execute("3");
rbCustom.IsChecked = true;
}
else
{
vm.IntervalStartDate = DateTime.Today.AddMonths(-2);
rb2Months.IsChecked = true;
vm.ReadingQuickLinks.Execute("0");
}
});
}
|
Please
try this approach and let us know if it resolves the issue on your side.
Regards,
Vidyalakshmi
M.
Attachment:
Video_643dfdce.zip