ActivityResultLauncherKt

Added in 1.2.0

public final class ActivityResultLauncherKt


Summary

Public methods

static final void
launch(
    @NonNull ActivityResultLauncher<Void> receiver,
    ActivityOptionsCompat options
)

Convenience method to launch a no-argument registered call without needing to pass in null.

static final void

Convenience method to launch a no-argument registered call without needing to pass in Unit.

Public methods

launch

public static final void launch(
    @NonNull ActivityResultLauncher<Void> receiver,
    ActivityOptionsCompat options
)

Convenience method to launch a no-argument registered call without needing to pass in null.

launchUnit

public static final void launchUnit(
    @NonNull ActivityResultLauncher<Unit> receiver,
    ActivityOptionsCompat options
)

Convenience method to launch a no-argument registered call without needing to pass in Unit.