package Ġcom . pre cop ia . rx tracker . view . manage pre scriptions view Ċ Ċ import Ġandroidx . recyclerview . widget . Diff Util Ċ import Ġcom . pre cop ia . domain . datamodel . Pre scription Ċ Ċ class ĠPre scription Diff Callback : ĠDiff Util . Item Callback < Pre scription >() Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġare Items The Same ( old Item : ĠPre scription , Ġnew Item : ĠPre scription ) Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġold Item . id Ġ== Ġnew Item . id ĊĊĠĠĠ Ġoverride Ġfun Ġare Contents The Same ( old Item : ĠPre scription , Ġnew Item : ĠPre scription ) Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġold Item Ġ== Ġnew Item Ċ }