Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Custom renderer for HTML Label

$
0
0

Hi,

I have the need to display HTML in a Label. Some webservice returns me HTML content that i need to show in a listview page and a detail one.
The utilisation of a WebView will not be an answer because of performance issue in the listview page and te fact that i have a complex detail page.

The only thing i see on the Forums is to use FormattedString but i can't really decompose the whole HTML.

The last option i have is to create custom renderer in order to do that.
The only thing i know is that there's this function in Android Android.Text.Html.FromHtml() but i don't really know how to use it.

Can anyone help me with this ? First all with Android & iOS, and with Windows Phone later.

Regards


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>