library / org.akop.kotx.ext.app / android.os.Bundle

Extensions for android.os.Bundle

put

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

Shorthand for Bundle.putBoolean.

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

Shorthand for Bundle.putByte.

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

Shorthand for Bundle.putChar.

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

Shorthand for Bundle.putShort.

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

Shorthand for Bundle.putInt.

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

Shorthand for Bundle.putLong.

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

Shorthand for Bundle.putFloat.

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

Shorthand for Bundle.putDouble.

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

Shorthand for Bundle.putParcelable.

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

Shorthand for Bundle.putByteArray.

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

Shorthand for Bundle.putShortArray.

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

Shorthand for Bundle.putCharArray.

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

Shorthand for Bundle.putFloatArray.

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

Shorthand for Bundle.putIntArray.

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

Shorthand for Bundle.putLongArray.

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

Shorthand for Bundle.putString.

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

Shorthand for Bundle.putBundle.

fun Bundle.put(key: String?, value: Array<CharSequence?>?): Unit

Shorthand for Bundle.putCharSequenceArray.

fun Bundle.put(key: String?, value: Array<Parcelable?>?): Unit

Shorthand for Bundle.putParcelableArray.

fun Bundle.put(key: String?, value: ArrayList<out Parcelable?>?): Unit

Shorthand for Bundle.putParcelableArrayList.

fun Bundle.put(key: String?, value: SparseArray<out Parcelable?>?): Unit

Shorthand for Bundle.putSparseParcelableArray.