I’m developing android application that depends on Fragment, only one activity with multiple fragments
I have called another activity with start for result and I want to replace the fragment but I got the following error
Can not perform this action after onSaveInstanceStatus
can anyone please help
the problem here was happened because I return back to activity with result and the activity is not resuming yet, so I need to but this part of code in new Handler() in a new thread to wait for some time until resume the activity and then change the fragment