bugfix
This commit is contained in:
@@ -69,6 +69,10 @@ public class FragmentStack {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( mFragmentManager == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
FragmentTransaction mFragmentTransaction = mFragmentManager.beginTransaction();
|
||||
|
||||
if ( mCurrentFragment != null ) {
|
||||
@@ -100,6 +104,9 @@ public class FragmentStack {
|
||||
invokeCallback();
|
||||
return;
|
||||
}
|
||||
if ( mFragmentManager == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
FragmentTransaction mFragmentTransaction = mFragmentManager.beginTransaction();
|
||||
|
||||
@@ -163,6 +170,10 @@ public class FragmentStack {
|
||||
|
||||
public void clearAll() {
|
||||
|
||||
if ( mFragmentManager == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ( mFragmentStack.isEmpty() ) {
|
||||
invokeCallback();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user