Вопрос

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