https://github.com/ibrahimyilmaz/kiel/pull/40 added syntax to define Diff callback for whole adapter. But you still have no ability to define diff callback for register blocks separately.
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
https://github.com/ibrahimyilmaz/kiel/pull/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 it