popbackstack fragment how to pass value in bundle
FragmentManager fm = getActivity().getFragmentManager(); Bundle arguments = new Bundle(); arguments.putInt("VALUE1", 0); arguments.putInt("VALUE2", 100); MyFragment myFragment = new Fragment(); fragment.setArguments(arguments); fm.beginTransaction().replace(R.id.content_frame, myFragment).commit();