I'm writting the writeToParcel method and my model has an EnumSet<object> as attribut. I don't know which out.write....() i have to use for this type ?

有帮助吗?

解决方案

EnumSet implements Serializable hence you can use out.writeSerializable(enumset)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top