标签: kotlin
给出一个班级
class Pizza(name: String?) : Serializable { var name: String? by Delegates.observable(name, {_,_,_ -> }) }
为什么这不可序列化?它崩溃了
Caused by: java.io.NotSerializableException: com.xxx.xxx.Pizza$$special$$inlined$observable$1