package Ġsample . kotlin . project . presentation . core . adapters Ċ Ċ import Ġcom . h ann es dor fm ann . adapter deleg ates 4 . Adapter Delegate Ċ import Ġcom . h ann es dor fm ann . adapter deleg ates 4 . Adapter Deleg ates Manager Ċ import Ġcom . h ann es dor fm ann . adapter deleg ates 4 . Async List Differ Deleg ation Adapter Ċ Ċ abstract Ġclass ĠBase Deleg ation Adapter < I > Ċ protected Ġconstructor ( ĊĠĠĠ Ġitem Callback : ĠBase Item Callback < I > Ċ ) Ġ: ĠAsync List Differ Deleg ation Adapter < I >( item Callback ) Ġ{ ĊĊĠĠĠ Ġprotected Ġfun Ġitem ( position : ĠInt ): ĠI Ġ= Ġitems [ position ] ĊĊĠĠĠ Ġprotected Ġoperator Ġfun Ġ< T > ĠAdapter Deleg ates Manager < T >. plus Assign ( ĊĠĠĠĠĠĠĠ Ġdelegate : ĠAdapter Delegate < T > ĊĠĠĠ Ġ) Ġ{ ĊĠĠĠĠĠĠĠ Ġadd Delegate ( delegate ) ĊĠĠĠ Ġ} Ċ } Ċ