BundleKt

Added in 1.1.0

public final class BundleKt


Summary

Public methods

static final @NonNull Bundle

Returns a new empty Bundle.

static final @NonNull Bundle

Returns a new Bundle with the given key/value pairs as elements.

Public methods

bundleOf

public static final @NonNull Bundle bundleOf()

Returns a new empty Bundle.

bundleOf

public static final @NonNull Bundle bundleOf(@NonNull Pair<@NonNull StringObject> pairs)

Returns a new Bundle with the given key/value pairs as elements.

Throws
kotlin.IllegalArgumentException

When a value is not a supported type of Bundle.