Replies: 1 comment
-
Same concern. The Serialization support has been added here a while ago. Sorry for a stupid question, but is there any option to disable custom If is correct to have not-serializable properties while implementing custom |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would wish to use kotlinx's Serializable annotation to make my objects (and Screens) savable and recoverable.
I understand that now it works well with java.io.Serialzable and Parcelable.
Example:
To be used in
class PostDetailsScreen(val post: Post): Screen{...}
// Doesnot work; (Can we make it work in future)
@Serializable data class Post(val title: String)
// Works
data class Post(val title: String): java.io.Serialzable
Beta Was this translation helpful? Give feedback.
All reactions