Query |
Description | ||
Support for PullToRefresh in SfListView |
Currently SfListView do not have support for PullToRefresh. We have already considered this as feature request and we are implementing the feature “PullToRefresh” and it will be available in our upcoming 2017 Volume 2 SP 1 release which is scheduled to be rolled out by end of this month. We will let you know once the release has been rolled out. | ||
Filtering in SfListView |
SfListView provides inbuilt support to filter the data by setting the Filter property. For more information about filtering the data, please refer the following UG documentation link and also we have attached the sample which illustrates you to filter the data based on the entered text in the SearchBar and you can download it from the Query 4 attached sample link.
| ||
Performance about SfListView |
Currently SfListView does not use caching mechanism but it is completely developed with UI Virtualization and Item recycling concept. While scrolling, we have updated only the BindingContext of the item which improves the layout performance and scrolling performance. | ||
Pre-Load or Lazy load of images option in SfListView |
SfListView does not use any inbuilt preload or lazy load options for images but you can use the FFImageLoading for better recycling of images and performance improvement while scrolling. We have prepared a sample which illustrates you about working with FFImageLoading in SfListView and you can download it from the below link.
| ||
Load More support in SfListView |
You can achieve the reported feature “Support for Load more items in SfListView” by the application level itself. In the sample, you can achieve the requirement through ScrollRowsChanged event of ScrollAxisBase in VisualContainer of SfListView. By using this event, you can find whether reached the last item in the list in SfListView based on LastBodyVisibleLineIndex property. When reaching the Last index, add the items into the observable collection. By using Reflection, get the VisualContainer from SfListView and use the same way to get ScrollAxisBase from VisualContainer as per the below code snippet.
Code Example[XAML]:
Code Example[C#]:
For your assistance we have attached the working sample and you can download it from the link below.
|