storeValue
Stores an Android Bundle in a BoomerangStore with the given key.
This extension function is only available on the Android platform. It converts the Bundle to an AndroidBoomerang before storing it.
Parameters
key
The key to store the value under
bundle
The Android Bundle to store
Extension function for BoomerangStore that allows storing a value using a builder function. This is a convenient way to create and store a Boomerang in a single expression.
Example usage:
boomerangStore.storeValue("myKey") {
putString("name", "John")
putInt("age", 30)
}
Content copied to clipboard
Parameters
key
The key to store the value with
resultBuilder
A lambda with receiver that configures the Boomerang instance