package Ġcom . dist ill ery . android . ui . adapter Ċ Ċ import Ġandroidx . recyclerview . widget . Diff Util Ċ import Ġcom . dist ill ery . android . domain . models . ToDo Model Ċ Ċ class ĠTo Do List Diff Callback Ġ: ĠDiff Util . Item Callback < ToDo Model >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġare Items The Same ( model : ĠTo Do Model , Ġother Model : ĠTo Do Model ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmodel . unique Id Ġ== Ġother Model . unique Id ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġare Contents The Same ( model : ĠTo Do Model , Ġother Model : ĠTo Do Model ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmodel Ġ== Ġother Model ĊĠĠĠ Ġ} Ċ } Ċ