Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

问下为啥实体类需要序列化,为啥需要Serializable,不能用Parcelable么? #7

Open
sxf-Ignite opened this issue Aug 28, 2018 · 3 comments

Comments

@sxf-Ignite
Copy link

No description provided.

@lawdao
Copy link
Owner

lawdao commented Aug 30, 2018 via email

@sxf-Ignite
Copy link
Author

能具体说一下么?

@sovwcwsfm
Copy link

Parcelable不能使用在要将数据存储在磁盘上的情况,因为Parcelable不能很好的保证数据的持续性在外界有变化的情况下。尽管Serializable效率低点,但此时还是建议使用Serializable

Repository owner deleted a comment from sovwcwsfm Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants