Shane Neuville

Results 1186 comments of Shane Neuville

> @dimonovdd it looks like you are supposed to override: > > ```cs > protected virtual bool AllowFragmentRestore => false; > ``` > > Did that not work for you?...

> > Do you happen to know which of these lines is breaking RegisterForActivityResult? > > yep, `savedInstanceState?.Remove("androidx.lifecycle.BundlableSavedStateRegistry.key");` If you set `AllowFragmentRestore` to true and then just add ```java savedInstanceState?.Remove("android:support:fragments");...

> > Does that workaround your issue? > > No, I changed `MauiAppCompatActivity` code like this and also the exception > > ![image](https://user-images.githubusercontent.com/59065470/226819659-f0faf2b6-e28f-412a-8fc4-59bef14f3f18.png) Hmm, yea, it looks like that path...