registerForActivityResult

fun <I, O> registerForActivityResult(contract: ActivityResultContract<I, O>): ActivityResultRequest<I, O>

Register for receiving activity results for the given contract.

The returned com.freeletics.khonshu.navigation.ActivityResultRequest can be used to collect incoming results (via com.freeletics.khonshu.navigation.ActivityResultRequest.results) and to launch the actual activity result call via navigateForResult.

For permission requests prefer using registerForPermissionsResult instead.

Note: You must call this before ActivityNavigatorEffect is called with this navigator.