Package icyllis.modernui.util

# Interface Parcelable.Creator<T>

All Known Subinterfaces:
  `Parcelable.ClassLoaderCreator<T>`

Enclosing interface:
  `Parcelable`

Functional Interface:
  This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Parcelable.Creator<T>
Interface that must be implemented and provided as a public CREATOR field that creates instances of your `Parcelable` class from a `Parcel`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `createFromParcel(Parcel source)`
  Create a new instance of the `Parcelable` class, instantiating it from the given `Parcel` whose data had previously been written by `Parcelable.writeToParcel(Parcel, int)`.

- ## Method Details

  - ### createFromParcel

    T createFromParcel(@NonNull Parcel source)
    Create a new instance of the `Parcelable` class, instantiating it from the given `Parcel` whose data had previously been written by `Parcelable.writeToParcel(Parcel, int)`.
    Parameters:
      `source` - the stream to read the object's data from
    Returns:
      a new instance of the `Parcelable` class