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
Copy file name to clipboardExpand all lines: activity-fragment-manager/src/main/java/com/massivedisaster/activitymanager/ReplaceFragmentTransaction.java
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,16 @@ class ReplaceFragmentTransaction extends FragmentTransaction {
47
47
48
48
@Override
49
49
publicvoidcommit() {
50
+
// Apply the default activity animation if the FragmentTransaction is null.
Copy file name to clipboardExpand all lines: activity-fragment-manager/src/main/java/com/massivedisaster/activitymanager/activity/AbstractFragmentActivity.java
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -88,10 +88,12 @@ public void onCreate(Bundle savedInstanceState) {
88
88
setContentView(rootView);
89
89
initializeDataBinding(rootView);
90
90
91
-
if (getSupportFragmentManager().getBackStackEntryCount() == 0 && getIntent().hasExtra(ACTIVITY_MANAGER_FRAGMENT)) {
0 commit comments