In mobile applications when there is a product list to display, very often to wait for the data to load, the locations appear in gray, which avoids a accordion effect when loading text and images. I would like to know what is the best way to do this with this Xamarin form? if you have an example. thank you.
Xamarin : reserve items in a list before loading data
83 Views Asked by Philippe Auriou At
2
There are 2 best solutions below
0

If you are using ListView
, then you can implement an empty list view template and render what you want there while the items are loading. Here is a good example of this feature:
Going forward, I'd recommend switching to CollectionView
as it's a recommended control for handling lists in a Xamarin.Forms
app and follow the guide posted by Jason in his comment.
I already use a collectionView, thank you for your answers, here is more using IsBusy to determine if the webservice is being called