We checked the provide code snippet and we would like to
inform that, when the shimmer is placed inside the SfListView ItemTemplate, the
shimmer animation will not be displayed since the shimmer control is not
initialized. So, adding the shimmer control inside the SfListView is not a good
approach.
Adding the SfListView as content to the shimmer control will
achieve your requirement. The shimmer control will now be initialized before
the SfListView item source is updated, allowing us to display the shimmer
animation.
Using CustomView, we can customize the shimmer control view
similar to the SfListView data. Please
refer the below User Guide links to know more details
https://help.syncfusion.com/xamarin/shimmer/getting-started#loading-shimmer-content
https://help.syncfusion.com/xamarin/shimmer/custom-view
Now we have modified the sample to achieve your
requirement and prepared a video to show shimmer animation before the SfListView
data is loaded. Please get the sample and video from the below attachment.
Attachment:
Shimmer_ca49a7bd.zip