bundleOf

fun Intent.bundleOf(vararg pairs: Pair<String, Any?>): Intent

Creates a new bundle and put it into the intent with the given key/value pairs as elements.

Parameters

pairs

key/value pairs.