package Ġcom . pad cx . pad cx _ health care app _ n ct . adapters Ċ Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . ViewGroup Ċ import Ġcom . pad cx . shared . adapters . Base Recycler Adapter Ċ import Ġcom . pad cx . pad cx _ health care app _ n ct . R Ċ import Ġcom . pad cx . pad cx _ health care app _ n ct . views . view holders . base view holders . Base Patient Detail ListView Holder Ċ import Ġcom . pad cx . pad cx _ health care app _ n ct . views . view holders . Patient Detail ListView Holder Ċ import Ġcom . pad cx . shared . data . v os . Question VO Ċ Ċ class ĠPatient Detail ListAdapter : ĠBase Recycler Adapter < Base Patient Detail ListView Holder , ĠQuestion VO >() Ġ{ ĊĠĠĠ Ġoverride Ġfun ĠonCreate ViewHolder ( ĊĠĠĠĠĠĠĠ Ġparent : ĠViewGroup , ĊĠĠĠĠĠĠĠ Ġview Type : ĠInt ĊĠĠĠ Ġ): ĠBase Patient Detail ListView Holder Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġview Ġ= ĠLayoutInflater . from ( parent . context ). inflate ( R . layout . patient _ detail _ items , parent , false ) ĊĠĠĠĠĠĠĠ Ġreturn ĠPatient Detail ListView Holder ( view ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġon Bind ViewHolder ( holder : ĠBase Patient Detail ListView Holder , Ġposition : ĠInt ) Ġ{ ĊĠĠĠĠĠĠĠ Ġholder . bind Data ( m Data [ position ]) ĊĠĠĠ Ġ} Ċ }