package Ġorg . que iro z . the mov ied b . movies . adapter . view holder Ċ Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . ViewGroup Ċ import Ġandroidx . databinding . ViewData Binding Ċ import Ġandroidx . databinding . library . base Adapters . BR Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġorg . que iro z . the mov ied b . databinding . Item Page Movie Info Overview Binding Ċ import Ġorg . que iro z . the mov ied b . model . T mdb Movies Ċ Ċ class ĠMovie Over View ViewHolder ( ĊĠĠĠ Ġprivate Ġval Ġbinding : ĠView Data Binding Ċ ) Ġ: ĠRecyclerView . ViewHolder ( binding . root ) Ġ{ ĊĊĠĠĠ Ġfun Ġbind ( movie : ĠT mdb Movies . Movie ?) Ġ= Ġwith ( binding . root ) Ġ{ ĊĠĠĠĠĠĠĠ Ġbinding . set Variable ( BR . movie , Ġmovie ) ĊĠĠĠĠĠĠĠ Ġbinding . execute Pending Bindings () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĊĠĠĠĠĠĠĠ Ġfun Ġcreate ( parent : ĠViewGroup ): ĠMovie Over View ViewHolder Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġlayout Inflater Ġ= ĠLayoutInflater . from ( parent . context ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġbinding : ĠItem Page Movie Info Overview Binding Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠItem Page Movie Info Overview Binding . inflate ( layout Inflater , Ġparent , Ġfalse ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn ĠMovie Over View ViewHolder ( binding ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠ Ġ} Ċ } Ċ