Join Slack
Powered by
Hi, is there any way, right now, to render a Strin...
# compose
m
Mouaad
10/24/2020, 5:19 PM
Hi, is there any way, right now, to render a String with html tag? (the string itself is coming from an API)
Mouaad
10/25/2020, 11:18 AM
I will give this a try, thank you!
a
Alexander Karkossa
10/25/2020, 11:23 AM
Maybe Html.fromHtml(stringFromApi) could transform your String into Spanned
j
Jeremy
10/26/2020, 2:48 PM
I had similar problem ->
https://github.com/jeremyrempel/yahnapp/blob/main/app/src/main/java/com/github/jeremyrempel/yanhnapp/ui/components/HtmlText.kt
Jeremy
10/26/2020, 2:49 PM
The html is parsed via jsoup
49
Views
Open in Slack
Previous
Next