@ file : Suppress (" NOTH ING _ TO _ INLINE ") Ċ Ċ package Ġcom . commit 4 5 1 . co il transform ations . sample Ċ Ċ import Ġandroid . app . Activity Ċ import Ġandroid . content . Context Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . annotation . Id Res Ċ import Ġandroidx . annotation . Layout Res Ċ import Ġandroidx . fragment . app . Fragment Activity Ċ import Ġandroidx . lifecycle . Android ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Ċ import Ġandroidx . lifecycle . ViewModel Providers Ċ Ċ inline Ġfun Ġ< re ified ĠV Ġ: ĠView > ĠViewGroup . inflate (@ Layout Res Ġlayout Res : ĠInt , Ġattach To Root : ĠBoolean Ġ= Ġfalse ): ĠV Ġ{ ĊĠĠĠ Ġreturn ĠLayoutInflater . from ( context ). inflate ( layout Res , Ġthis , Ġattach To Root ) Ġas ĠV Ċ } Ċ Ċ inline Ġfun Ġ< T > Ġunsafe Lazy ( no inline Ġinitializer : Ġ() Ġ-> ĠT ) Ġ= Ġlazy ( Lazy Thread Safety Mode . NONE , Ġinitializer ) Ċ Ċ inline Ġfun Ġ< re ified ĠT Ġ: ĠViewModel > ĠFragment Activity . bind ViewModel () Ġ= Ġunsafe Lazy Ġ{ ĊĠĠĠ ĠViewModel Providers . of ( this ). get ( T :: class . java ) Ċ } Ċ Ċ inline Ġval ĠAndroid ViewModel . context : ĠContext ĊĠĠĠ Ġget () Ġ= Ġget Application () Ċ Ċ fun Ġ< V Ġ: ĠView > ĠActivity . bind View (@ Id Res Ġid : ĠInt ) Ġ= Ġunsafe Lazy Ġ{ ĠfindViewById < V >( id ) Ġ} Ċ