isChildModeに応じてchildIdの処理を決定するように

This commit is contained in:
rca 2024-07-06 15:40:02 +09:00
parent 3dde8dfa02
commit 72efe84497

View File

@ -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;
}