2

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 ?

AdrianoCelentano
  • 2,461
  • 3
  • 31
  • 42

1 Answers1

2

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

asenovm
  • 6,397
  • 2
  • 41
  • 52