Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148397 | Oct 17,2019 05:38 PM UTC | Oct 22,2019 05:40 AM UTC | Xamarin.Forms | 3 |
![]() |
Tags: SfBusyIndicator |
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;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.