package Ġcom . j ok ub as . m mdb . movie details . ui . credits Ċ Ċ import Ġandroid . os . Bundle Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . fragment . app . Fragment Ċ import Ġandroidx . lifecycle . ViewModel Provider Ċ import Ġcom . j ok ub as . m mdb . movie details . actions . Inner Details Action Ċ import Ġcom . j ok ub as . m mdb . movie details . databinding . Fragment Movie Credits Binding Ċ import Ġcom . j ok ub as . m mdb . util . navigation tools . Config Fragment Args Ċ import Ġcom . j ok ub as . m mdb . util . navigation tools . action Ċ import Ġcom . j ok ub as . m mdb . util . navigation tools . config Ċ Ċ object ĠCred its Fragment Args : ĠConfig Fragment Args < Inner Details Action . Credits , ĠCred its Config >() Ċ Ċ class ĠCred its Fragment Ġ: ĠFragment () Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġaction : ĠInner Details Action . Credits Ġby Ġaction () ĊĠĠĠ Ġprivate Ġval Ġconfig : ĠCred its Config Ġby Ġconfig () ĊĊĠĠĠ Ġprivate Ġval Ġcredits ViewModel : ĠCred its ViewModel Ġby Ġlazy Ġ{ ĊĠĠĠĠĠĠĠ ĠViewModel Provider ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthis , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠCred its ViewModel Factory ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġaction Ġ= Ġaction , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġconfig Ġ= Ġconfig ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ). get ( Credits ViewModel :: class . java ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠonCreate View ( ĊĠĠĠĠĠĠĠ Ġinflater : ĠLayoutInflater , Ġcontainer : ĠViewGroup ?, ĊĠĠĠĠĠĠĠ ĠsavedInstanceState : ĠBundle ? ĊĠĠĠ Ġ): ĠView Ġ= ĠFragment Movie Credits Binding . inflate ( in flater , Ġcontainer , Ġfalse ). apply Ġ{ ĊĠĠĠĠĠĠĠ Ġlifecycle Owner Ġ= Ġview Lifecycle Owner ĊĠĠĠĠĠĠĠ ĠviewModel Ġ= Ġcredits ViewModel ĊĠĠĠ Ġ}. root Ċ }