android - Checking State before calling activity.getSupportFragmentManager().popBackStackImmediate()? -
sometimes calling
activity.getsupportfragmentmanager().popbackstackimmediate()
results in error in particular:
fatal exception: java.lang.illegalstateexception: can not perform action after onsaveinstancestate
what check prevent error occurring? enough check
!activity.isfinishing()
or should 1 check activity not stopped?
Comments
Post a Comment