Type of @Serializable
It’s possible to define such types as Drawables and String Resources this way:
@DrawableRes val d:Int
@StringRes val s:Int
How it’s possible to define type for @Serializable without adding extra interface to all its classes?
1 post - 1 participant
Read full topic