ParcelableCompat

Added in 1.1.0
Deprecated in 1.1.0

public final class ParcelableCompat


Helper for accessing features in android.os.Parcelable.

Summary

Public methods

static Parcelable.Creator<T>

This method is deprecated.

Use android.os.Parcelable.ClassLoaderCreator directly.

Public methods

newCreator

Added in 1.1.0
Deprecated in 1.1.0
public static Parcelable.Creator<T> <T> newCreator(ParcelableCompatCreatorCallbacks<T> callbacks)

Factory method for Parcelable.Creator.

Parameters
ParcelableCompatCreatorCallbacks<T> callbacks

Creator callbacks implementation.

Returns
Parcelable.Creator<T>

New creator.