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.
Unfortunately, activation email could not send to your email. Please try again.

How to Keep current selected item after refresh the datasource for SfListView

Thread ID:





129973 Apr 12,2017 04:00 PM Apr 14,2017 09:55 AM Xamarin.Forms 1
Tags: SfListView
Joao Paulo Lima Braga
Asked On April 12, 2017 04:00 PM


I have a Xamarin Forms app with a SfListView control. I would like to keep the current position in the scroll after refreshing the ItemsSource collection. I already have this behaviour when using the native Xamarin Forms ListView control. But when I decided to use SfListView, after reseting the ItemsSource property, the scroll position is moved to the start.

Is there any way to achieve this behavior?

Thanks in advance.

Joao Paulo Braga

Dinesh Babu Yadav [Syncfusion]
Replied On April 14, 2017 09:55 AM

Hi Joao,  
Sorry for the inconvenience caused.  
The reported issue “ScrollView offset gets changed when the ItemsSource is reset” has been resolved at our end. As this is forum, we cannot provide patch so, a support incident has been created under your account for providing custom assemblies which includes the fix for the reported issue. Please log on to our support website to check for further updates.        
Dinesh Babu Yadav 


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.

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.