Commit d01fa264 by sikang

BUG修复

parent e8ebb62e
...@@ -110,12 +110,13 @@ public class FragmentLauncher { ...@@ -110,12 +110,13 @@ public class FragmentLauncher {
//更新当前页 //更新当前页
currentFragment = fragment; currentFragment = fragment;
if (listener != null) {
listener.onFragmentCreated(fragment);
}
if (arguments != null) { if (arguments != null) {
fragment.setArguments(arguments); fragment.setArguments(arguments);
} }
if (listener != null) {
listener.onFragmentCreated(fragment);
}
//提交 //提交
transaction.commit(); transaction.commit();
return fragment; return fragment;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment