Deepak Gahlot
08/17/2021, 4:54 PMjava.lang.IllegalArgumentException: SavedStateProvider with the given key is already registered
I'm trying to launch the file explorer for the user to pick a file, and then when the user clicks to return back to the compose screen . I'm getting this error, this was not there before not sure what has changedval registerTakeFile = rememberLauncherForActivityResult(
ActivityResultContracts.OpenDocument()
) { uri ->}
Colton Idle
08/18/2021, 1:52 AMDeepak Gahlot
08/18/2021, 4:10 AM