Is there an Android-provided way to convert a Span...
# compose
b
Is there an Android-provided way to convert a Spanned string into an AnnotatedString? Alternatively, can I read a string resource as an AnnotatedString? I say “Android-provided” because while there are plenty of homegrown converters out there, and even a partial SpanStyle converter in the Compose source code, I’d prefer a complete and maintained solution.
e
b
Thanks for confirming, @ephemient
a
Hello there, I've just released https://github.com/Aghajari/AnnotatedText, Check it out, it may meet your needs.
955 Views