Mass Data

Hello!
We would like to use your Carousel to display all images from our SQLite database.
Well you documentation regarding the carousel is, well medium,...
It is impossible for us to initialize the carousel like in your docu, because there are about 4000 images in the database and I can´t load them all into the RAM.
https://help.syncfusion.com/xamarin-ios/sfcarousel/populating-data

I tried to use the DelegateClass like you provided it here:
https://help.syncfusion.com/xamarin-ios/sfcarousel/how-to

Problem is, that the Carousel does not have a Delegate property and the SFCarouselDelegate is not existing.

I want to lazy load the images over events, e.g. only 20 images get loaded into the ram, then when the user navigtes through the images the next images are loaded and not all at the same time!

best regards!

2 Replies

AS Anandraj Selvam Syncfusion Team March 17, 2020 02:12 PM UTC

Hi Nico, 
  
Greetings from the Syncfusion.  
  
Currently we are validating the reported query and we will update the complete details on or before March 19, 2020.  
  
We appreciate your patience until then.  
   
Regards,  
Anand Raj S.  



AS Anandraj Selvam Syncfusion Team March 19, 2020 02:38 PM UTC

Hi Nico,  
  
Thanks for your patience.   
  
Query 1: “lazy load the images”   
  
We checked the reported issue and we have achieved your requirement by enabling the EnableVirtualization. In UI virtualization concept, only the number of items that can be adaptable to the viewport of our device are arranged. Even, if the numerous items have been added to the collection, it loads only the viewport adaptable count of the carousel Items. 
  
Code Snippet: 
sFCarousel. EnableVirtualization = true; 
  
  
There is another way to achieve your requirement by using Load More. The LoadMore view is added after the last item in the collection of carousel view. When tapping the LoadMore view, the next set of items in the collection can be added to the carousel based on the LoadMoreItemsCount
  
Code Snippet: 
sFCarousel. AllowLoadMore= true; 
sFCarousel.LoadMoreItemsCount = 10; 
sF 
  
  
Query 2: “The Carousel does not have a Delegate property and the SFCarouselDelegate is not existing” 
  
Currently we are revamping the existing documentation and we will modify and publish on or before the upcoming Vol 1 SP release. 
  
We appreciate your patience until then.   
    
Regards,   
Anand Raj S. 


Loader.
Up arrow icon