package Ġcom . example . multiple fragment Ċ import Ġandroid . support . v 4 . app . Fragment Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroid . view . View Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ class ĠSecond Fragment : Fragment () Ċ { ĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( in flater : LayoutInflater , container : ViewGroup ?, bundle : Bundle ?): View ĊĠĠĠ Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġinflater . inflate ( R . layout . fragment _ second , container , false ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Activity Created ( savedInstanceState : ĠBundle ?) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Activity Created ( savedInstanceState ) ĊĊĠĠĠĠĠĠĠ Ġprintln (" I Ġam Ġcreated Ġ${ this . java Class . simple Name }") ĊĠĠĠ Ġ} Ċ }