Most visited

Recently visited

ParcelableCompat

public final class ParcelableCompat
extends Object

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


Helper用于访问以向后兼容的方式在API级别4之后引入的 Parcelable功能。

Summary

Public methods

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

工厂方法为 Parcelable.Creator

Inherited methods

From class java.lang.Object

Public methods

newCreator

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

工厂方法为 Parcelable.Creator

Parameters
callbacks ParcelableCompatCreatorCallbacks: Creator callbacks implementation.
Returns
Creator<T> New creator.

Hooray!