package Ġco . zs mb . rain bow cake . guardian demo . ui . saved Ċ Ċ import Ġandroidx . recyclerview . widget . Diff Util Ċ import Ġco . zs mb . rain bow cake . guardian demo . ui . saved . Saved Presenter . Saved News Item Ċ Ċ object ĠSaved News Item Comparator Ġ: ĠDiff Util . Item Callback < Saved News Item >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġare Items The Same ( old Item : ĠSaved News Item , Ġnew Item : ĠSaved News Item ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġold Item . id Ġ== Ġnew Item . id ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġare Contents The Same ( old Item : ĠSaved News Item , Ġnew Item : ĠSaved News Item ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġold Item Ġ== Ġnew Item ĊĠĠĠ Ġ} Ċ } Ċ