https://kotlinlang.org logo
a

amar_1995

02/27/2020, 6:54 AM
How can I pass
spanned
text to compose
Text
api ?
l

Leland Richardson [G]

02/27/2020, 6:52 PM
we have an overload for
Text(AnnotatedString)
. I think you will need to convert to this first
z

Zach Klippenstein (he/him) [MOD]

02/27/2020, 7:18 PM
Are there any plans for
TextField
to support `AnnotatedString`s?
l

Leland Richardson [G]

02/27/2020, 7:56 PM
@Siyamed is the right person to ask for this
s

Siyamed

02/27/2020, 8:24 PM
We did not implement ispanned to annotated conversion . We want to provide a way to convert between those two but don't have a solution or impementation yet.
TextField will support multi styled text, however it has lower priority for us compared to links, inline images etc.
👍 1
Right now you can style the text as a whole in TextField but cannot do multi styled text.
z

Zach Klippenstein (he/him) [MOD]

02/27/2020, 9:18 PM
Yea i would expect this would be pretty far down the backlog, glad to know you’re thinking about it though
👍 1
6 Views