package Ġpt . r fs fer nan des . po cket album . utils . diff ers Ċ Ċ import Ġandroidx . recyclerview . widget . Diff Util Ċ import Ġpt . r fs fer nan des . po cket album . data . models . artist . Artist Ċ Ċ /** Ċ Ġ* ĠĠ ĠObject ĠArtist Diff Callback Ġcreated Ġat Ġ 2 3 / 0 1 / 2 0 2 2 Ġ 1 7 : 3 4 Ġfor Ġthe Ġproject ĠP ocket Album Ċ Ġ* ĠĠ ĠBy : Ġro d rig o fer nan des Ċ Ġ*/ Ċ object ĠArtist Diff Callback Ġ: ĠDiff Util . Item Callback < Artist >() Ġ{ ĊĊĠ Ġoverride Ġfun Ġare Items The Same ( old Item : ĠArtist , Ġnew Item : ĠArtist ): ĠBoolean Ġ{ ĊĠĠĠ Ġreturn Ġold Item Ġ== Ġnew Item ĊĠ Ġ} ĊĊĠ Ġoverride Ġfun Ġare Contents The Same ( old Item : ĠArtist , Ġnew Item : ĠArtist ): ĠBoolean Ġ{ ĊĠĠĠ Ġreturn Ġ( old Item . name Ġ+ Ġold Item . mb id Ġ+ Ġold Item . url ) Ġ== Ġ( new Item . name Ġ+ Ġnew Item . mb id Ġ+ Ġnew Item . url ) ĊĠ Ġ} Ċ } Ċ