1

I have just created a class for an android application that I am currently making. I made it parcelable so that I can efficiently send objects of this class between activities. However, I would also like to save these objects to internal storage. From what I have read I need to make the class serilizable in order to do so. Is there some other efficient way that I can save these objects or is it fine to make the class serializable as well?

Shane Dev
  • 11
  • 2

1 Answers1

0

Perceable is for Inter Process Communication which faster compare the Serializable. From your requirement seems like serializable is good enough.

Read this and Android doc for more details.

Community
  • 1
  • 1
minhaz
  • 4,233
  • 3
  • 33
  • 49