package Ġio . scal . command based architecture . sample _ coroutine . ui . base . adapter Ċ Ċ import Ġandroidx . recyclerview . widget . RecyclerView Ċ import Ġio . scal . command based architecture . sample _ coroutine . R Ċ import Ġio . scal . command based architecture . sample _ coroutine . databinding . Item Progress Error Binding Ċ import Ġio . scal . command based architecture . sample _ coroutine . ui . base . model . UI Item Ċ import Ġio . scal . command based architecture . sample _ coroutine . ui . base . model . UI Progress Error Item Ċ import Ġio . scal . command based architecture . sample _ coroutine . ui . base . view . handle Progress Error State Ċ Ċ internal Ġclass ĠProgress Error Item Delegate Ġ: ĠAdapter Delegate By Class < UI Progress Error Item , ĠUI Item >( ĊĠĠĠ ĠUI Progress Error Item :: class Ċ ) Ġ{ ĊĊĠĠĠ Ġoverride Ġval Ġlayout Id : ĠInt Ġ= ĠR . layout . item _ adapter _ progress _ error _ footer ĊĊĠĠĠ Ġoverride Ġfun Ġon Bind Item ViewHolder ( ĊĠĠĠĠĠĠĠ Ġitem : ĠUI Progress Error Item , ĊĠĠĠĠĠĠĠ Ġposition : ĠInt , ĊĠĠĠĠĠĠĠ ĠviewHolder : ĠRecyclerView . ViewHolder , ĊĠĠĠĠĠĠĠ Ġpayload s : ĠMutable List < Any > ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsuper . on Bind Item ViewHolder ( item , Ġposition , ĠviewHolder , Ġpayload s ) ĊĊĠĠĠĠĠĠĠ Ġitem . handle Progress Error State ( Item Progress Error Binding . bind ( view Holder . item View )) ĊĠĠĠ Ġ} Ċ }