Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

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

$
0
0

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}"
IsPullToRefreshEnabled="true"
IsRefreshing="{Binding IsRefreshing, Mode=OneWay}"
CachingStrategy="RecycleElement"

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!


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>