package Ġcom . pn ue ma . app Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroidx . appcompat . app . AppCompatActivity Ċ Ċ class ĠMainActivity Ġ: ĠAppCompatActivity () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġon Save InstanceState ( out State : ĠBundle ) Ġ{ ĊĠĠĠĠĠĠĠ Ġout State . put Int (" Integer ", Ġ 1 2 3 4 ) ĊĠĠĠĠĠĠĠ Ġout State . putString (" String ", Ġ" String Test ") ĊĠĠĠĠĠĠĠ Ġout State . put Float (" Float ", Ġ 1 2 . 3 4 F ) ĊĊĠĠĠĠĠĠĠ Ġval Ġinner Bundle Ġ= ĠBundle () ĊĠĠĠĠĠĠĠ Ġinner Bundle . put Int (" Integer ", Ġ 5 6 7 8 ) ĊĠĠĠĠĠĠĠ Ġinner Bundle . putString (" String ", Ġ" Inner String Test ") ĊĠĠĠĠĠĠĠ Ġinner Bundle . put Float (" Float ", Ġ 5 6 . 7 8 F ) ĊĊĠĠĠĠĠĠĠ Ġout State . put Bundle (" inner Bundle ", Ġinner Bundle ) ĊĊĠĠĠĠĠĠĠ Ġsuper . on Save InstanceState ( out State ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . onCreate ( savedInstanceState ) ĊĠĠĠĠĠĠĠ ĠsetContentView ( R . layout . activity _ main ) ĊĠĠĠ Ġ} Ċ } Ċ