ParcelableCompat

Added in 1.1.0
Deprecated in 1.1.0

class ParcelableCompat


Helper for accessing features in android.os.Parcelable.

Summary

Public functions

java-static Parcelable.Creator<T!>!

This function is deprecated.

Use android.os.Parcelable.ClassLoaderCreator directly.

Public functions

newCreator

Added in 1.1.0
Deprecated in 1.1.0
java-static fun <T> newCreator(callbacks: ParcelableCompatCreatorCallbacks<T!>!): Parcelable.Creator<T!>!

Factory method for Parcelable.Creator.

Parameters
callbacks: ParcelableCompatCreatorCallbacks<T!>!

Creator callbacks implementation.

Returns
Parcelable.Creator<T!>!

New creator.