Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 22.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
Deprecated since version 26.1.0

ParcelableCompat

public final class ParcelableCompat
extends Object

java.lang.Object
   ↳ android.support.v4.os.ParcelableCompat


This class was deprecated in API level 26.1.0.
Use Parcelable.ClassLoaderCreator directly.

Helper for accessing features in Parcelable.

Summary

Public methods

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

This method was deprecated in API level 26.1.0. Use Parcelable.ClassLoaderCreator directly.

Inherited methods

From class java.lang.Object

Public methods

newCreator

added in version 22.1.0
Creator<T> newCreator (ParcelableCompatCreatorCallbacks<T> callbacks)

This method was deprecated in API level 26.1.0.
Use Parcelable.ClassLoaderCreator directly.

Factory method for Parcelable.Creator.

Parameters
callbacks ParcelableCompatCreatorCallbacks: Creator callbacks implementation.

Returns
Creator<T> New creator.