package Ġcom . isa ac udy . nav rick Ċ Ċ import Ġandroid . support . v 4 . app . Fragment Transaction Ċ import Ġandroid . support . v 7 . app . AppCompatActivity ĊĊ Ċ internal Ġfun ĠAppCompatActivity . fragment Transaction ( block : ĠFragment Transaction . ()-> Unit ){ ĊĠĠĠ Ġsupport FragmentManager . beginTransaction () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. apply ( block ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. dis allow AddTo Back Stack () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. commit Now Allow ing State Loss () Ċ }