diff --git a/app/src/main/java/org/ntlab/irisclient/DrawingCardFragment.java b/app/src/main/java/org/ntlab/irisclient/DrawingCardFragment.java index 6bded86..a7cd24a 100644 --- a/app/src/main/java/org/ntlab/irisclient/DrawingCardFragment.java +++ b/app/src/main/java/org/ntlab/irisclient/DrawingCardFragment.java @@ -23,6 +23,7 @@ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { + super.onCreateView(inflater, container, savedInstanceState); return inflater.inflate(R.layout.fragment_card_drawing, container, false); } @@ -30,12 +31,12 @@ public void onViewCreated(@NonNull View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); - FragmentManager fragmentManager = getChildFragmentManager(); - FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction(); - fragmentTransaction.addToBackStack(null); - fragmentTransaction.replace(R.id.container, - DrawingCardFragment.newInstance("Fragment")); - fragmentTransaction.commit(); +// FragmentManager fragmentManager = getChildFragmentManager(); +// FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction(); +// fragmentTransaction.addToBackStack(null); +// fragmentTransaction.replace(R.id.container, +// DrawingCardFragment.newInstance("Fragment")); +// fragmentTransaction.commit(); } }