Fragment commit vs commitNow commitNow() 동기적으로 트랜잭션 처리. // Activity.kt log("Transaction: begin") supportFragmentManager .beginTransaction() .replace(R.id.layout, Fragment2()) .commitNow() log("Transaction: end") // Logcat Transaction: begin Fragment2: onAttach Fragment2: onCreate Fragment1: onPause Fragment1: onStop Fragment1: onDestroyView Fragment2: onCreateView Fragment2: onViewCreated Fragme..