Getting double of same lists.

Hi,

I am using Syncfusion for Xamarin forms.In my company looking forward to take the premium Syncfusion.
We are facing a problem now using syncfusion.
In our app we are getting data list from Api and showing per page 25 items as listview.
At the end of the page or end of 25 items , We applied load more option of Syncfusion.

But the problem is ----------

per page the instead of individual 25 items, the list view is showing up 50 items or 75 items , and 50 or 75 items are duplication of 25 items twice or thrice.
(Clarification---- Suppose in first page it will show 25 items.first it showing 1 to 25 items and again 1 to 25 in the first page.so total items become 50.Same thing is happening for 2nd or third page).
We get that it hitting the api call 2 or three times but load more items are creating the cause we assuming.please help us.

Plzzzz help us.

I uploaded Xaml page,Xaml.cs page behind file,and Viewmodel file in zip format.
Please have a look and notify me what you think about the problem.


Regards,
Sourav




      


Attachment: project_9014817d.zip

3 Replies

VR Vigneshkumar Ramasamy Syncfusion Team July 30, 2018 08:44 AM UTC

Hi Sourav,  
 
Thanks for contacting Syncfusion support.  
 
We have checked the reported query from our end. We would like to let you know that the listview does not load any duplicate items. We have loaded the items which you have populated in the itemsource.   
 
LoadMore is basically loaded the items which accumulate viewable height. So if you load the 25 items which is not enough to occupy the full viewable height then the load more item called and add more items till it filled. So can you please check with your side where you have populate the duplicate items.  
 
For your reference we have attached the sample and you can download it from the below link.  
 
 
 
Please let us know if you require further assistance.  
 
Regards,  
Vigneshkumar R 



SO Sourav July 31, 2018 09:24 AM UTC

Thanks for reply.But Would you please tell me what is "Viewable Height"?


RS Rawoof Sharief Muthuja Sherif Syncfusion Team August 1, 2018 06:42 AM UTC

Hi Sourav, 
 
Viewable height is nothing but a screen height, Load more load the items when the view is not fill. 
 
Regards, 
Rawoof M. 


Loader.
Up arrow icon