Hi Mehmet,
When the list view items are loaded with large size images or complex layouts, it takes some time to load the View initially. This is the time taken from Xamarin framework to render the specified layout in view. SfListView is implemented completely based on virtualization (and item recycling) concept by default. So, it creates the element only which are in view on initial loading and while scrolling, we have recycled the existing elements by updating only the BindingContext to provide better performance on scrolling.
We just let you know that Xamarin have introduced the two concepts (Fast Renderers and Layout Compression) to decrease the rendering time in their later XF versions. You can refer the below link for more details regarding these concepts.
We have referred the attached template and created a simple sample to measure the time delay in our application and verified across certain specific conditions.
Please find the loading time below.
|
|
Time taken to load 20 items |
Time taken to load 50 items |
|
With FFImage |
SfListView |
9.2 |
SfListView |
9.4 |
|
SfListView with Fast renderers |
7.3 |
SfListView with Fast renderers |
7.7 |
|
ListView |
10.7 |
ListView |
8.5 |
|
ListView with Fast renderers |
7.3 |
ListView with Fast renderers |
7.5 |
|
Without FFImage |
SfListView |
7.0 |
SfListView |
6.9 |
|
SfListView with Fast renderers |
6.4 |
SfListView with Fast renderers |
6.0 |
|
ListView |
7.3 |
ListView |
7.2 |
|
ListView with Fast renderers |
6.9 |
ListView with Fast renderers |
5.9 |
We have found that using Fast renderers may reduce upto 500-1000 milliseconds of loading time delay in your application.
Please find the tested device details below.
Device details:
Name: Moto G4 Plus
Ram: 2GB
OS: Android v7.0
For your reference, we have attached the tested sample and you can download it from the below link.
Please let us know if you require further assistance.
Regards,
G.Muthu kumaran.