package Ġcom . zg . bur ger joint . adapters čĊč Ċ import Ġandroid . view . LayoutInflater č Ċ import Ġandroid . view . ViewGroup č Ċ import Ġcom . zg . bur ger joint . R č Ċ import Ġcom . zg . bur ger joint . data . v os . Bur ger VO č Ċ import Ġcom . zg . bur ger joint . deleg ates . Bur ger ViewHolder Action Delegate č Ċ import Ġcom . zg . bur ger joint . view holders . Bur ger ViewHolder čĊč Ċ class ĠBur ger Adapter ( private Ġval Ġm Delegate Ġ: ĠBur ger ViewHolder Action Delegate ) Ġ: ĠBase Recycler Adapter < Bur ger ViewHolder , ĠBur ger VO >() Ġ{ čĊĠĠĠ Ġoverride Ġfun ĠonCreate ViewHolder ( parent : ĠViewGroup , Ġview Type : ĠInt ): ĠBur ger ViewHolder Ġ{ čĊĠĠĠĠĠĠĠ Ġval Ġview Ġ= ĠLayoutInflater . from ( parent . context ). inflate ( R . layout . view _ item _ bur ger , parent , false ) čĊĠĠĠĠĠĠĠ Ġreturn ĠBur ger ViewHolder ( view , Ġm Delegate ) čĊĠĠĠ Ġ} č Ċ }