You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I execute this code like following this: final SublimePickerFragment pickerFrag = new SublimePickerFragment(); .......... pickerFrag.show(((FragmentActivity)context).getSupportFragmentManager(),"SUBLIME_PICKER");
It shows error :" Can not perform this action after onSaveInstanceState"
And I have had found solution :
replace PickerFragment.show() with code like this : FragmentTransaction transaction = ((FragmentActivity)context).getSupportFragmentManager().beginTransaction(); transaction.add(pickerFrag, "SUBLIME_PICKER"); transaction.commitAllowingStateLoss();
The text was updated successfully, but these errors were encountered:
when I execute this code like following this:
final SublimePickerFragment pickerFrag = new SublimePickerFragment(); .......... pickerFrag.show(((FragmentActivity)context).getSupportFragmentManager(),"SUBLIME_PICKER");
It shows error :" Can not perform this action after onSaveInstanceState"
And I have had found solution :
replace PickerFragment.show() with code like this :
FragmentTransaction transaction = ((FragmentActivity)context).getSupportFragmentManager().beginTransaction(); transaction.add(pickerFrag, "SUBLIME_PICKER"); transaction.commitAllowingStateLoss();
The text was updated successfully, but these errors were encountered: