Skip to content

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

Open

Description

@sxf-Ignite
No description provided.

Activity

  1. lawdao commented on Aug 30, 2018

    @lawdao
    Owner
  2. sxf-Ignite commented on Aug 31, 2018

    @sxf-Ignite
    Author

    能具体说一下么?

  3. sovwcwsfm commented on Oct 8, 2018

    @sovwcwsfm

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions