putJavaSerializable

Stores a Java Serializable object in the Boomerang with the given key.

This extension function is only available on the Android platform. It casts the Boomerang to AndroidBoomerang and uses the underlying Bundle.

Parameters

key

The key to store the value under

value

The Serializable object to store