Merge remote-tracking branch 'origin/feature/v1.0.0' into feature/v1.0.0
This commit is contained in:
@@ -174,10 +174,11 @@ public class MainActivity extends MvpActivity< MainView, MainPresenter > impleme
|
||||
|
||||
@Override
|
||||
public void onBackPressed() {
|
||||
super.onBackPressed();
|
||||
if ( getSupportFragmentManager().getBackStackEntryCount() > 0 ) {
|
||||
getSupportFragmentManager().popBackStack();
|
||||
if ( FragmentStack.getInstance().isEmpty() ) {
|
||||
super.onBackPressed();
|
||||
return;
|
||||
}
|
||||
FragmentStack.getInstance().pop();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user