package Ġvn . ta le . architecture . common . view holder Ċ Ċ import Ġandroid . view . LayoutInflater Ċ import Ġandroid . view . View Ċ import Ġandroid . view . ViewGroup Ċ import Ġvn . ta le . architecture . R Ċ import Ġvn . t iki . no adapter 2 . Abs ViewHolder Ċ Ċ /** Ċ Ġ* ĠCreated Ġby ĠG iang ĠN gu yen Ġon Ġ 1 / 2 / 1 7 . Ċ Ġ*/ Ċ class ĠRetry ViewHolder Ġprivate Ġconstructor ( item View : ĠView ) Ġ: ĠAbs ViewHolder ( item View ) Ġ{ ĊĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠ Ġfun Ġcreate ( parent : ĠViewGroup ): ĠRetry ViewHolder Ġ{ ĊĠĠĠĠĠ Ġval Ġinflater Ġ= ĠLayoutInflater . from ( parent . context ) ĊĠĠĠĠĠ Ġval Ġview Ġ= Ġinflater . inflate ( R . layout . item _ retry , Ġparent , Ġfalse ) ĊĠĠĠĠĠ Ġreturn ĠRetry ViewHolder ( view ) ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ