<https://youtu.be/x-FcOX6ErdI?t=14m6s> In the abo...
# android
r

https://youtu.be/x-FcOX6ErdI?t=14m6s

In the above video at the provided timestamp, Florina is demonstrating how to utilize string annotations in order to style spans. I’ve followed the steps closely, but I seem to have hit a roadblock. In the code example, there appears to be a
key
field on the
Annotation
object. However, the inferred object by the compiler seems to be a Kotlin
interface
meant for compiler annotations. It is an empty interface. Am I meant to import a different
Annotation
type? I can’t find any documentation on this feature anywhere.