My goal is to serialize spanned objects only, without text.
I was very happy to found that all(most of them) Span
objects implement Parcelable
interface
But it turned out that Android doesn't follow the Parcelable protocol and there is no CREATOR
object in their implementations :
ParcelableSpan
- A special kind of Parcelable
for objects that will serve as text spans
Does anyone know the way to serialize Span
objects (for example StyleSpan
) ?