화면 전환할 때 IllegalStateException이 나타난다면? commitAllowingStateLoss
Fragment에서 다른 Fragment로 이동시 아래와 같은 코드를 사용한다, 1234567891011TestFragment fragment = TestFragment.newInstance(status, info); FragmentManager fragmentManager = getFragmentManager();if (fragmentManager == null) { return;} FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();fragmentTransaction.replace(R.id.fragmentContainer, fragment, TestFragment.TAG);fragmentTransaction.addT..
Comment