Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Hyperlink in WebView conflicts with scroll indicator in SfListView

Hi All,

We are currently developing a mobile app using Xamarin Forms app. In the solution, we have used 4.7.0.1260 version of Xamarin.Forms. However, with this version we are facing an issue of scrolling indicator in SfListView for Android device, however it is working completely fine in iOS device. Please check the following screenshot for the same.


After investigating this issue, we came across one blog which asked to upgrade the Xamarin.Forms version. Hence, we have upgraded the Xamarin.Forms version to 4.8.0.1687. After doing this change, the scrolling indicator was visible even in Android devices, but then we came across another issue that the hyperlinks in WebView are not clickable anymore in Android devices. In addition to this, we are using Android native web view with custom renderer. We are using ShouldOverrideUrlLoading method to open hyperlink URL in relevant app or browser.

Sample Hyperlink:
<a href=\"https://www.youtube.com/watch?v=TxbE79-1OSI\" target=\"_blank\">African Wildlife</a>

So, it seems that there is a conflict between hyperlink in WebView and scroll indicator in SfListView in different versions of Xamarin.Forms.
Is there version that includes both the functionalities as working in the same Xamarin.Forms version?

Thanks,

Sign In or Register to comment.