I'm making something that has descriptions, that c...
# compose
z
I'm making something that has descriptions, that can sometimes contain URLs. How can I make those URLs be made clickable?
e
1. inline links aren't a great idea in mobile apps, the touch targets are too small (mobile browsers have some magic to snap touches to links to make their effective touch targets larger). if you can get away with making the whole text tappable, I would do so 2. there is a feature request to add linkification to compose text, https://issuetracker.google.com/issues/139312671 3. for now you'll have to manually set up the
annotatedString
yourself. https://www.hellsoft.se/rendering-markdown-with-jetpack-compose/
­čĹŹ 2