BundleKt

public final class BundleKt


Summary

Public methods

static final @NonNull Bundle

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

Public methods

bundleOf

@NonNull
public static final Bundle bundleOf(@NonNull Pair<@NonNull String, @NonNull Object> 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.