I am using an ActivityIndicator in my page to show loading of data from a web service. I have a toolbar item also in my page. I have bound the visibility of activityIndicator to IsBusy property in my view model using following code-
var activityIndicator = new ActivityIndicator ();
activityIndicator.SetBinding (ActivityIndicator.IsRunningProperty, "IsBusy");
activityIndicator.SetBinding (ActivityIndicator.IsVisibleProperty, "IsBusy");
However if I set the IsBusy property to true, I see indicator both as a content of my page (which I had set) and also in toolbar. How can I get rid of the activity indicator in toolbar?
Thanks
Apurva