isChildModeに応じてchildIdの処理を決定するように
This commit is contained in:
parent
3dde8dfa02
commit
72efe84497
|
@ -52,7 +52,9 @@ public class CommonHomeFragment extends Fragment {
|
|||
CommonHomeFragment fragment = new CommonHomeFragment();
|
||||
Bundle args = new Bundle();
|
||||
args.putBoolean(ARG_IS_CHILD_MODE, isChildMode);
|
||||
args.putString(ARG_CHILD_ID, childId);
|
||||
if (isChildMode) {
|
||||
args.putString(ARG_CHILD_ID, childId);
|
||||
}
|
||||
fragment.setArguments(args);
|
||||
return fragment;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user