Skip to content

Commit 2124838

Browse files
committed
fix #949 extraTransaction().setCustomAnimations() exitAnimation is not working
1 parent b66a4eb commit 2124838

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fragmentation_core/src/main/java/me/yokeyword/fragmentation/SupportFragmentDelegate.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,9 @@ public FragmentAnimator getFragmentAnimator() {
329329
mFragmentAnimator = mSupport.getFragmentAnimator();
330330
}
331331
}
332+
if (mCustomExitAnim != Integer.MIN_VALUE) {
333+
mFragmentAnimator.setExit(mCustomExitAnim);
334+
}
332335
return mFragmentAnimator;
333336
}
334337

0 commit comments

Comments
 (0)