package Ġcom . mart ian lab . recipes . presentation . views . stage Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . util . Attribute Set Ċ import Ġandroid . widget . Frame Layout Ċ import Ġcom . mart ian lab . recipes . databinding . Recipe Item Binding Ċ import Ġcom . mart ian lab . recipes . databinding . Recipe Stage Item Binding Ċ import Ġcom . mart ian lab . recipes . entities . Recipe Ċ import Ġcom . mart ian lab . recipes . entities . Recipe Stage Ċ import Ġcom . mart ian lab . recipes . presentation . views . base . Recycler Item View ĊĊ Ċ class ĠStage Item View Ġ@ Jvm Over loads Ġconstructor ( ĊĠĠĠĠĠĠĠ Ġcontext : ĠContext , ĊĠĠĠĠĠĠĠ Ġattrs : ĠAttributeSet ? Ġ= Ġnull , ĊĠĠĠĠĠĠĠ Ġdef Style : ĠInt Ġ= Ġ 0 Ċ ) Ġ: ĠFrame Layout ( context , Ġattrs , Ġdef Style ), ĠRe cycler Item View < Recipe Stage > Ġ{ ĊĊĠĠĠ Ġoverride Ġval ĠviewModel Ġ= ĠStage Item ViewModel () ĊĊĠĠĠ Ġoverride Ġval Ġbinding : ĠRecipe Stage Item Binding Ġ= ĠRecipe Stage Item Binding . inflate ( activity . layout Inflater , Ġthis , Ġtrue ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ. apply Ġ{ ĠviewModel Ġ= Ġthis @ Stage Item View . viewModel Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġbind Data ( data : ĠRecipe Stage ) Ġ{ ĊĠĠĠĠĠĠĠ ĠviewModel . bind Data ( data ) ĊĠĠĠ Ġ} ĊĊ Ċ } ĊĊ