I am using the SfRotator and updated to the latest 18.104.22.168 version.
But, I notice a new instance of the control defined inside the DataTemplate will be created on each time the SfRotator move to next image (I have set the SfRotator with EnableAutiPlay and EnableLooping).
In my attached sample code. The SfRotator is bind to a data source (Items) with total 3 items in the collection. So, should the SfRotator only create 3 instance of the control defined inside the DataTemplate? Infact, the SfRotator will keep create a new instance of those controls defined inside DataTemplate.
This will be a problem, when the image is from internet. It is no good to keep download the image from internet. Instead, I derived my own AdvImage control that wil;l check the local previous downloaded copy and load it. Otherwise, download from the given URL.
DRDhanasekar R Syncfusion Team January 25, 2019 07:53 AM
Greetings from Syncfusion.
In our current implementation of SfRotator, we have used the virtualization support. (For example : If we use 1000 items on SfRotatorItem, it will take more time to load the control)
Hence when the item get loaded on the view, that particular item instance will get created and it will be removed when the next item get viewed on the rotator item. This is the reason the view get created every time when the item get changed.
Currently we have considered this implementation of SfRotator Item without creating new instance for the items which has been already viewed. We have added this feature request to our database. You can now track the current status of this feature request here