The difference between parcelable and serializable in Android, automating plugins that implement parcelable interfaces

Source: Internet
Author: User

The difference between parcelable and serializable

Reference Address: http://greenrobot.me/devpost/android-parcelable-serializable/

Because the final difference is that the parcelable serialization speed is much higher than serializable, so I prefer to use parcelable, but the Parcelable interface is more complex to implement, so many people do not want to write.

But there are plugins in Android studio and idea that automatically generate parcelable code templates, which is quite practical.

Refer to the following address to use the plugin: Http://blog.csdn.net/kroclin/article/details/40902721?utm_source=tuicool

Blogger Pro Test The plugin is available, and easy to use

The difference between parcelable and serializable in Android, automating plugins that implement parcelable interfaces

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.