The first question: To be precise, it does not exist. The regenerated Activity after destruction will build a new FragmentManager instance, but the old Activity will save the Fragment instance that was retained in the FragmentManager before destruction through the onRetainNonConfigurationInstance() method, and then Restore these Fragment instances after the Activity is recreated
I don’t quite understand your second question, can you explain it in detail?
The first question: To be precise, it does not exist. The regenerated Activity after destruction will build a new FragmentManager instance, but the old Activity will save the Fragment instance that was retained in the FragmentManager before destruction through the onRetainNonConfigurationInstance() method, and then Restore these Fragment instances after the Activity is recreated
I don’t quite understand your second question, can you explain it in detail?