e.Url.Contains(".pdf") |
protected async void webviewNavigated(object sender, WebNavigatedEventArgs e)
{
if (e.Url.Contains(".pdf"))
{
var pdfUrl = new Uri(e.Url);
busyindicator.IsBusy = false;
busyindicator.IsVisible = false;
this.labelLoading.IsVisible = true;
Device.OpenUri(pdfUrl);
}
else
{
//else condition works
busyindicator.IsBusy = false;
busyindicator.IsVisible = false;
this.labelLoading.IsVisible = true;
}
} |
I have the same situation where the indiciator is always animating and visible does not disapear.