PickContact
inline fun <ViewModel : BaseLifecycleViewModel> PickContact(noinline onResult: ViewModel.(Uri?) -> Unit): ComposableNavSpec.Launcher<ViewModel, Void?, Uri?>
Creates a ComposableNavSpec.Launcher to open the contacts list to select a contact.
Parameters
ViewModel
the type of BaseLifecycleViewModel the result should be called on.
onResult
Callback method that returns an Uri of the contact selected, or null
if nothing was selected.