ActivityResultLauncherKt
Added in 1.2.0
public final class ActivityResultLauncherKt
Summary
Public methods |
|
|---|---|
static final void |
launch(Convenience method to launch a no-argument registered call without needing to pass in |
static final void |
launchUnit(Convenience method to launch a no-argument registered call without needing to pass in |
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.