Reputation: 2591
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 ?
Upvotes: 2
Views: 1320
Reputation: 6517
EnumSet implements Serializable
hence you can use out.writeSerializable(enumset)
Upvotes: 2