Forum Xamarin.Forms

How can I customize the refreshing icon for a Pull to Refresh Listview?

Dirkv01Dirkv01 Member ✭✭

I would like to modify the existing refreshing animation for the Pull to Refresh for a Listview.

I've created a Listview with the following properties:

RefreshCommand="{Binding LoadItemsCommand}"
IsRefreshing="{Binding IsRefreshing, Mode=OneWay}"

And the pull to refresh action works like I want it to, but the animation used is the standard Android and iOS animation. I would like to customize this by adding some text, changing the position of the loading icon and changing the color schemes.

I've achieved the perfect layout by placing a grid over my listview and binding the IsVisible to the same IsRefreshing, but it only shows after the refreshing command has started (which makes sense of course...) and I would like this grid to slide down when starting the pull down, showing while refreshing and dissappearing when the refreshing is done.

Any help is much appreciated!


Sign In or Register to comment.