/* ĊĠ ĠCopyright Ġ( c ) Ġ 2 0 1 8 - present , ĠSur f Studio ĠLLC , ĠMax im ĠTue v . ĊĊĠ ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); ĊĠ Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . ĊĠ ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat ĊĊĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 ĊĊĠ ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware ĊĠ Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , ĊĠ ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . ĊĠ ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand ĊĠ Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ package Ġru . surf studio . android . easy adapter . diff . base Ċ Ċ import Ġandroidx . recyclerview . widget . RecyclerView . Adapter Ċ import Ġandroidx . recyclerview . widget . Diff Util . Diff Result Ċ import Ġru . surf studio . android . easy adapter . diff . base . data . Diff Result Bundle Ċ Ċ /** Ċ Ġ* ĠInterface Ġof Ġentity Ġcapable Ġto Ġapply Ġcalculated Ġ[ Diff Result ] Ġto Ġ[ Adapter ]. Ċ Ġ*/ Ċ @ Functional Interface Ċ internal Ġinterface ĠDiff Result App lier Ġ{ ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠApply Ġcalculated Ġ[ Diff Result ]. ĊĠĠĠĠ Ġ* ĊĠĠĠĠ Ġ* Ġ@ param Ġdiff Result Bundle Ġbundle Ġwith Ġcalculated Ġ[ Diff Result ] Ġand Ġadditional Ġinformation . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġfun Ġapply ( diff Result Bundle : ĠDiff Result Bundle ) Ċ }