https://kotlinlang.org logo
#android
Title
# android
r

Regan Russell

10/16/2017, 12:42 AM
can/should dataclasses be serializable ..?
g

gildor

10/16/2017, 1:06 AM
You can implement Serializable or use kotlinx.serialization. Should or not depends on your case. Java Serializable has own set of advantages and disadvantages, so the choice is up to you.
r

Regan Russell

10/16/2017, 1:10 AM
Thanks. Found a whole world of pain and issues elsewhere so I can't even think about this now.
g

gildor

10/16/2017, 1:14 AM
are you talking about Java Serializable with Data classes?
r

Regan Russell

10/16/2017, 1:18 AM
Yes. But I have to work on major refactor of UI classes for powers that be. Thanks.