Lauren Yew
09/09/2021, 11:33 PMephemient
09/09/2021, 11:39 PMIan Lake
09/09/2021, 11:40 PMLauren Yew
09/13/2021, 9:14 PMIan Lake
09/13/2021, 10:01 PMlaunch
is over and gone entirely)ActivityResultRegistry
register
call that takes a Lifecycle
(or the ActivityResultCaller
convienience methods of registerForActivityResult
, which implicitly use the LifecycleOwner
). There's a regular register
on ActivityResultRegistry
if you have your own Lifecycle equivalent and are handling registering unconditionally ahead of time and unregistering as appropriately yourself (that's actually how we built the activity-compose
API of rememberLauncherForActivityResult
as those launchers need to be tied into Compose's hierarchy)Lauren Yew
09/14/2021, 1:11 PM