RichUtils / pyxis.uzuki.live.richutilskt.utils / android.os.Bundle

Extensions for android.os.Bundle

put

fun Bundle.put(key: String, value: Any): Unit

put 'key to value' into Bundle with automatically smart castig

putMap

fun Bundle.putMap(map: Map<String, Any>): Unit

put contents of Map<String, Any> into given Bundle

toMap

fun Bundle.toMap(): HashMap<String, Any>

Convert Bundle to HashMap<String, Any>