Impl
abstract class Impl<I, O>(val resultRegistry: ActivityResultRegistry, val resultContract: ActivityResultContract<I, O>) : ActivityCallContractHandler<I, O>
Base implementation that registers resultContract during onCreate.
This lets subclasses provide only the registry key/callback behavior they need instead of repeating launcher registration code.
Constructors
Link copied to clipboard
Enable construction from activity
Properties
Link copied to clipboard
Key by which resultCallback will be identified within resultRegistry
Link copied to clipboard
Callback invoked with the contract output.
Link copied to clipboard
Contract that converts inputs and outputs for the activity call.
Link copied to clipboard
Launcher created during lifecycle registration.
Link copied to clipboard
Registry used to create the launcher.