개발모음집

android FragmentTransaction, commit already called error 본문

Android

android FragmentTransaction, commit already called error

void 2017. 6. 29. 19:49

참고 스택오버플로우


같은 FragmentTransaction을 두 번 commit하면 commit already called에러가 뜬다.

private FragmentTransaction ft;
private FragmentTransaction ft1;


FragmentTransaction 변수를 두 개선언해서 commit하면 에러 해결