package Ġcom . ap ion . ap ion home . base Ċ Ċ import Ġandroidx . recyclerview . widget . Diff Util Ċ import Ġcom . ap ion . ap ion home . data . model . Gener a Entity Ċ Ċ class ĠBase Diff Util < T Ġ: ĠGener a Entity > Ġ: ĠDiff Util . Item Callback < T >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġare Items The Same ( old Item : ĠT , Ġnew Item : ĠT ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġold Item . are Items The Same ( new Item ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġare Contents The Same ( old Item : ĠT , Ġnew Item : ĠT ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġold Item . are Contents The Same ( new Item ) ĊĠĠĠ Ġ} Ċ } Ċ