Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!

ParcelableCompat

public final class ParcelableCompat
extends Object

java.lang.Object
   ↳ androidx.core.os.ParcelableCompat


This class is deprecated.
Use Parcelable.ClassLoaderCreator directly.

Helper for accessing features in Parcelable.

Summary

Public methods

static <T> Creator<T> newCreator(ParcelableCompatCreatorCallbacks<T> callbacks)

This method is deprecated. Use Parcelable.ClassLoaderCreator directly.

Inherited methods

Public methods

newCreator

public static Creator<T> newCreator (ParcelableCompatCreatorCallbacks<T> callbacks)

This method is deprecated.
Use Parcelable.ClassLoaderCreator directly.

Factory method for Parcelable.Creator.

Parameters
callbacks ParcelableCompatCreatorCallbacks: Creator callbacks implementation.

Returns
Creator<T> New creator.