Implementing an app where the user can log in I have the following situation: If the user is logged in perform the action else start the login activity for result and if the
Best thing I've come up with is to not use .show() but rather do this.
CheckinSuccessDialog dialog = new CheckinSuccessDialog();
//dialog.show(getSupportFragmentManager(), null);
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
ft.add(dialog, null);
ft.commitAllowingStateLoss();