Can anyone suggest a way or point me at code to display an
ActivityIndicator, ideally over the top of any existing visual elements already in the XAML tree?
Two possible ways of doing this come to mind. I could include an
ActivityIndicator somewhere in the XAML for each page and simply make is visible and invisible as required. Or a better solution would probably be to add the
ActivityIndicator to the visual tree using code when required. My use case allows for either of these solutions.
The only way I have got this to work so far is to add the
ActivityIndicator into a cell of a
Grid, which is not ideal and certainly isn't an option on all screens. So I'd be extremely grateful if anyone can point me at something to help with this.
Kind wishes ~ Patrick