목차 1. FragmentTransaction 2. popBackStack 3. setPrimaryNavigationFragment 4. setReorderingAllowed 코딩을 하며 막혔던 부분을 정리해볼까 한다. 1. FragmentTransaction FragmentTransaction은 Activity에 정의된 container View에 5가지의 오퍼레이션을 수행할 수 있도록 해주는 객체이다. 이러한 오퍼레이션은 총 7가지가 있다. add, remove, attach, detach, show, hide, replace 그리고 이러한 오퍼레이션들을 호출할 때, 한개 이상을 조합할 수 있다. 가령, attach와 detach를 적절히 섞어서 코딩한다거나, add와 remove를 적절히 섞어서 코딩하는 경우다 다음과 같이 말이다. 또는 show와 hide를 조합할 수도 있겠다. supportFragmentManager.beginTrancaction() .add(containe...
#backstack
#프래그먼트매니저
#프래그먼트
#트랜잭션
#안드로이드프래그먼트
#안드로이드
#백스택
#setReorderingAllowed
#setPrimaryNavigationFragment
#POPBACKSTACKINCLUSIVE
#popbackstack
#parentFragmentManager
#fragmentTransaction
#fragmentOperation
#fragmentManager
#fragmentBackStack
#childFragmentManager
#프래그먼트트랜잭션
원문링크 : 안드로이드 프래그먼트 정리(FragmentTransaction, popBackStack, setPrimaryNavigationFragment, setReorderingAllowed