package Ġcom . example . camera Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . support . v 7 . app . AppCompatActivity Ċ Ċ class ĠCamera Developer Activity Ġ: ĠAppCompatActivity () Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġsupport FragmentManager . beginTransaction (). replace ( android . R . id . content , ĠDeveloper Fragment ()). commit Now Allow ing State Loss () ĊĊĊĠĠĠ Ġ} Ċ } Ċ