package Ġcom . t ari . android . wallet . ui . common . re cyclerView . view Hold ers Ċ Ċ import Ġcom . t ari . android . wallet . databinding . Item Vertical Space Binding Ċ import Ġcom . t ari . android . wallet . ui . common . re cyclerView . Common ViewHolder Ċ import Ġcom . t ari . android . wallet . ui . common . re cyclerView . ViewHolder Builder Ċ import Ġcom . t ari . android . wallet . ui . common . re cyclerView . items . Space Vertical ViewHolder Item Ċ import Ġcom . t ari . android . wallet . ui . extension . dp To Px Ċ Ċ class ĠSpace Vertical ViewHolder ( view : ĠItem Vertical Space Binding ) Ġ: ĠCommon ViewHolder < Space Vertical ViewHolder Item , ĠItem Vertical Space Binding >( view ) Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġbind ( item : ĠSpace Vertical ViewHolder Item ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . bind ( item ) ĊĊĠĠĠĠĠĠĠ Ġval Ġparams Ġ= Ġui . ll Root . layout Params Ġ?: Ġreturn ĊĠĠĠĠĠĠĠ Ġparams . height Ġ= Ġui . root . context . dp To Px ( item . space . toFloat ()). toInt () ĊĠĠĠĠĠĠĠ Ġui . ll Root . layout Params Ġ= Ġparams ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġfun Ġget Builder (): ĠViewHolder Builder Ġ= ĠViewHolder Builder ( ĊĠĠĠĠĠĠĠĠĠĠĠ ĠItem Vertical Space Binding :: inflate , ĊĠĠĠĠĠĠĠĠĠĠĠ ĠSpace Vertical ViewHolder Item :: class . java ĊĠĠĠĠĠĠĠ Ġ) Ġ{ Ġview Ġ-> ĠSpace Vertical ViewHolder ( view Ġas ĠItem Vertical Space Binding ) Ġ} ĊĠĠĠ Ġ} Ċ } ĊĊ