getParcelable

inline fun <T : Parcelable> Bundle.getParcelable(key: String, callback: T): T

Returns the value associated with the given key.

Parameters

key

A string.

callback

As the return value if the return the value associated with the given key is null.

See also


inline fun <T : Parcelable> getParcelable(bundle: Bundle, key: String): T?

See also