You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This builder under the hood should create single DiffUtil.Callback with multiple "delegates": one for Cat, one for Dog. Then, when DiffUtil.Callback methods are called, that Callback must pick appropriate "delegate" and call it
The text was updated successfully, but these errors were encountered:
#40 added syntax to define Diff callback for whole adapter. But you still have no ability to define diff callback for
register
blocks separately.There is example of how it may look like:
This builder under the hood should create single
DiffUtil.Callback
with multiple "delegates": one for Cat, one for Dog. Then, whenDiffUtil.Callback
methods are called, that Callback must pick appropriate "delegate" and call itThe text was updated successfully, but these errors were encountered: