We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SelectedItem not persisted

Thread ID:





150248 Dec 28,2019 10:42 AM UTC Dec 30,2019 10:37 AM UTC Xamarin.Forms 2
Tags: SfPicker
Binoj V
Asked On December 28, 2019 11:51 AM UTC

I am using SFPICKER in a generic format. ItemSource is bound to an observable collection of type of items and SelectedItem is bound to the same type of item.
The SelectedItem is getting reflected (changed) upon changing value. But the next time I open the picker, the view always reverts to the first item. This doesn't happen with the DatePicker sample application. Am I missing something here...???

NB: I also tried with type as object and string. Mode TwoWay on Binding also didn't show any change.

In ViewModel constructor:


Binoj V
Replied On December 29, 2019 08:13 AM UTC

Issue seems to be version specific. Downgraded to

Hemalatha Marikumar [Syncfusion]
Replied On December 30, 2019 10:37 AM UTC

Hi Binoj V, 
Greetings from Syncfusion. 
We have validated your query and we were able to reproduce the “SelectedItem is not persisted” issue in Android platform. We have fixed the same and please find the patch setup from the below location for this issue. 
Please find the patch assemblies from the below location.    
Please find the NuGet from the below location. 
Assembly Version: v17.4.0.39    
Please note that we have created this patch for the version specifically to resolve the issue reported in this incident.    
Note: We request before replacing the NuGet, please follow the below steps to clear the NuGet cache,  
For Windows  
Follow the below link to clear cache,  
For Mac  
• ~/.local/share/NuGet/Cache  
• ~/.nuget/package  
This fix will be included in our next weekly release which is expected to be rolled out on  January 7th, 2020.   
Hemalatha M. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon