getParcelable

inline fun <T : Parcelable> Boomerang.getParcelable(key: String): T?(source)

Retrieves a Parcelable object from the Boomerang with the given key.

This extension function is only available on the Android platform. It handles API level differences for retrieving Parcelables from a Bundle.

Return

The Parcelable object, or null if not found or not of type T

Parameters

key

The key to retrieve the value from