문제

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