@Parcelize open class TestClass(
@SerialName("title")
var title: String,
@SerialName("list")
var list: RealmList<String>
) : RealmObject() { ... }
How can I parcelize "list"
variable in this implementation?
It says, that it's not possible to parcel this type of value even if I add @RawValue
.
What's the alternative here? An example with explanation would be flawless.
Similarly to this approach, you can do
Then you can do
Now you can do