Google is committed to advancing racial equity for Black communities. See how.

Versionedparcelable

  
Provides a stable and compact binary serialization format that can be passed across processes or persisted safely.
Latest Update Current Stable Release Next Release Candidate Beta Release Alpha Release
April 15, 2020 1.1.1 - - -

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Version 1.1.1

Version 1.1.1

April 15, 2020

androidx.versionedparcelable:versionedparcelable:1.1.1 is released. Version 1.1.1 contains these commits.

Bug Fixes

  • Updated ProGuard rules to keep all classes that implement VersionedParcelable, including non-public classes (I480bf8)

Version 1.1.0

Version 1.1.0

August 7, 2019

androidx.versionedparcelable:versionedparcelable:1.1.0 is released. The commits included in this version can be found here.

Below is a summary of changes from 1.0.0 to 1.1.0:

New features

  • New convenience methods ParcelUtils.getVersionedParcelableList() and ParcelUtils.putVersionedParcelableList()

API changes

  • ParcelUtils.getVersionedParcelable() now returns null if the key is not found in the bundle
  • ParcelUtils.putVersionedParcelable() now accepts null VersionedParcelable objects

Version 1.1.0-rc01

June 5, 2019

androidx.versionedparcelable:versionedparcelable:1.1.0-rc01 is released with no changes from 1.1.0-beta01. The commits included in this version can be found here.

Version 1.1.0-beta01

May 7, 2019

androidx.versionedparcelable:versionedparcelable:1.1.0-alpha01 is released. The commits included in this version can be found here.

API changes

  • Parcelutils.getVersionedParcelable and Parcelutils.putVersionedParcelable` now support null (aosp/940072)
  • RemoteActionCompat is now a VersionedParcelable` (aosp/928534)

Version 1.1.0-alpha02

March 13, 2019

androidx.versionedparcelable:versionedparcelable:1.1.0-alpha02 is released. The full list of commits included in this version can be found here.

Bug fixes

  • Updated to the latest annotation version for new annotations.

Version 1.1.0-alpha01

November 5, 2018

New features

  • Added support for CharSequence in all classes except VersionedParcelStream.
  • Added support for SuperClass, Set, and Map.

Bug fixes

  • Fixed a bug with checking IDs in inherited classes.