kutils / com.celites.kutils / android.os.Bundle

Extensions for android.os.Bundle

extractBundle

fun Bundle.extractBundle(keyValSeparator: String = ": ", newSetSeparator: String = "\n"): String

Extract bundle and returs string

put

fun Bundle.put(params: Array<out Pair<String, Any>>): Bundle

Add values to bundle

fun Bundle.put(param: Pair<String, Any>): Bundle

toMap

fun Bundle.toMap(): Map<String, String>

Creates bundle to map