Custom GSON deserializer
My response returning colors as strings. So I can get background color like "home_background" etc. I then take string and convert it to color from resource with same name. I do not want to do this in View ( Composables ) I want to create gson deserializer to parse it. Here is my data class:
data class QuestionTile(
override val id: String,
override val type: String,
override val author: Author,
override val createdDate: String,
override var text: PostText?,
override...