package Ġcom . example . react iver outer Ċ Ċ import Ġandroid . graphics . Color Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġcom . example . react iver outer . R Ċ import Ġkotlin . random . Random Ċ Ċ class ĠDemo Fragment 3 Ġ: ĠFragment () Ġ{ Ċ ĉ override Ġfun ĠonCreate View ( in flater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?, ĠsavedInstanceState : ĠBundle ?): ĠView ? Ġ{ Ċĉ ĉ return Ġinflater . inflate ( R . layout . demo _ fragment _ 3 , Ġcontainer , Ġfalse ) Ċ ĉ } ĊĊ ĉ override Ġfun Ġon View Created ( view : ĠView , ĠsavedInstanceState : ĠBundle ?) Ġ{ Ċĉ ĉ super . on View Created ( view , ĠsavedInstanceState ) Ċĉ ĉ view . set BackgroundColor ( Ċĉĉ ĉ Color . rgb ( Random . nextInt ( 2 5 5 ), ĠRandom . nextInt ( 2 5 5 ), ĠRandom . nextInt ( 2 5 5 )) Ċĉ ĉ ) Ċ ĉ } Ċ }