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

ActivityIndicator Color on PullToRefresh in ListView

$
0
0

I'm using PullToRefresh in my ListView. When the ItemsSource of my ListView is empty the displayed ActivityIndicator on a PullToRefresh operation is black, when the ItemsSource has items in it the color of the ActivityIndicator is white. Does Xamarin calculate the color based on the color used in the cells? Why does it work like this?

I would like to have it white at all times and i tried several things like setting the overall appearance of the UIActivityIndicator with the following lines:

UIActivityIndicatorView.Appearance.Color = UIColor.White;

Somehow that isn't working either. Any ideas on how to get the required result?

Thanks a lot.


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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