package Ġcom . p unto gr is . bl int . feature _ store . presentation . product Ċ Ċ import Ġandroidx . recyclerview . widget . Diff Util Ċ import Ġcom . p unto gr is . bl int . feature _ store . domain . model . Check able Tr ader Ċ Ċ class ĠCheck able Tr ader Diff CallBack Ġ: ĠDiff Util . Item Callback < Check able Tr ader >() Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġare Items The Same ( old Item : ĠCheck able Tr ader , Ġnew Item : ĠCheck able Tr ader ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġold Item . tr ader . tr ader Id Ġ== Ġnew Item . tr ader . tr ader Id ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġare Contents The Same ( ĊĠĠĠĠĠĠĠ Ġold Item : ĠCheck able Tr ader , ĊĠĠĠĠĠĠĠ Ġnew Item : ĠCheck able Tr ader ĊĠĠĠ Ġ): ĠBoolean Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġold Item Ġ== Ġnew Item ĊĠĠĠ Ġ} Ċ }