Search code examples
androidbundleserializableparcelableparcel

Android - When bundling List<MyClass> use Parceling or Serializing?


How should List<MyClass> be properly passed from the main activity to a secondary activity?

From what I understand, there are two ways to bundle data: Parceling and Serializing. What are the pros and cons to each?

Thanks


Solution

  • This link on anddev might give you answer in details http://www.anddev.org/bundle_vs_parcel_vs_message-t517.html

    Also there is one more article on the same topic. Its here http://www.mooproductions.org/node/6?page=57