# readFromParcel

public static String readFromParcel(Parcel in)

从 Parcel 中读取 String 类型数据

#### Return

String 类型数据

#### Parameters

in

Parcel

public static T readFromParcel<T extends Parcelable>(Parcel in, Class<T> cls)

Read and return a new Parcelable from the parcel.

#### Return

Returns the newly created Parcelable, or null if a null object has been written.

#### Parameters

in

Parcel

cls

Class