package Ġmo e . linux . boilerplate . util . view Ċ Ċ import Ġandroid . content . Context Ċ import Ġandroid . databinding . Data Binding Util Ċ import Ġandroid . databinding . ViewData Binding Ċ import Ġandroid . support . v 7 . widget . RecyclerView Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . ViewGroup Ċ Ċ class ĠData Binding ViewHolder < out ĠT Ġ: ĠView Data Binding >( context : ĠContext , Ġresource : ĠInt , Ġroot : ĠViewGroup ) ĊĠĠĠ Ġ: ĠRecyclerView . ViewHolder ( LayoutInflater . from ( context ). inflate ( resource , Ġroot , Ġfalse )) Ġ{ ĊĊĠĠĠ Ġval Ġbinding : ĠT Ġby Ġlazy Ġ{ ĠData Binding Util . bind < T >( item View ) Ġ} Ċ } Ċ