Skip to content

tomwis/OnSaveInstanceStateExceptionSample

Repository files navigation

Example project in Xamarin.Android showing problem with commiting fragments after OnSaveInstanceState method is called. If we do this we get an exception "Java.Lang.IllegalStateException: Can not perform this action after onSaveInstanceState".

Running project in "Debug" configuration shows the problem.

Running in "DebugCorrect" configuration shows the solution to the problem. We can save fragments in queue and commit them after returning to the app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages