getArguments()在第一次为Frag1调用OnCreateView()时返回正确的JSON字符串,但当我滑动到Frag2和再次调用Frag1的OnCreateView()时则不会返回正确的JSON相反,"JSON“参数为null。savedInstanceState) { int background
单击项目时,MedDetailFragment将打开MedListFragment.This传递的Medicine对象,这是MedListFragment中的on单击侦听器。fragmentTransaction.replace(R.id.fragment_container, new MedDetailFragment());
fragmentTransaction.addToBackStack(nullViewGroup) inflater.inflate(R.layout.fragment_med_detail, co