diff --git a/app/src/main/java/org/ntlab/amaryllis/client/fragment/ListFragment.java b/app/src/main/java/org/ntlab/amaryllis/client/fragment/ListFragment.java index e2b3bf7..5f425e2 100644 --- a/app/src/main/java/org/ntlab/amaryllis/client/fragment/ListFragment.java +++ b/app/src/main/java/org/ntlab/amaryllis/client/fragment/ListFragment.java @@ -64,14 +64,13 @@ //void showMyDialog() { - //FragmentManager manager = getActivity().getSupportFragmentManager(); - //MyDialogFragment dialog = MyDialogFragment.newInstance(this, REQUEST_NAME); - //dialog.setTargetFragment(ListFragment.this, 0); // ★★★ - //dialog.show(getFragmentManager(), "Dialog"); + //FragmentManager manager = getActivity().getSupportFragmentManager(); + //MyDialogFragment dialog = MyDialogFragment.newInstance(this, REQUEST_NAME); + //dialog.setTargetFragment(ListFragment.this, 0); // ★★★ + //dialog.show(getFragmentManager(), "Dialog"); //} - @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { @@ -80,14 +79,14 @@ //mSelectedText = (TextView) v.findViewById(R.id.textSelected); //mDispDialog = (Button) v.findViewById(R.id.btnDispDialog); //mDispDialog.setOnClickListener(new View.OnClickListener() { - //@Override - //public void onClick(View v) { - ////FragmentManager manager = getActivity().getSupportFragmentManager(); - //DialogFragment dialog = new MyDialogFragment(); - ////DialogFragment dialog = MyDialogFragment.newInstance(); - //dialog.setTargetFragment(ListFragment.this, 0); // ★★★ - //dialog.show(getParentFragmentManager(),"aaaa"); - //} + //@Override + //public void onClick(View v) { + ////FragmentManager manager = getActivity().getSupportFragmentManager(); + //DialogFragment dialog = new MyDialogFragment(); + ////DialogFragment dialog = MyDialogFragment.newInstance(); + //dialog.setTargetFragment(ListFragment.this, 0); // ★★★ + //dialog.show(getParentFragmentManager(),"aaaa"); + //} //}); //return inflater.inflate(R.layout.fragment_list, container, false); return v;