Question

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 ?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top