toggle menu
ZappBase
androidJvm
switch theme
search in API
Databinding
/
com.zappstudio.databinding.ui.recyclerview.adapter
/
BaseDiffAdapter
/
BaseDiffItems
Base
Diff
Items
open
inner
class
BaseDiffItems
(
newItems
:
List
<
Idable
>
,
oldItems
:
List
<
Idable
>
)
:
DiffUtil.Callback
Members
Constructors
Base
Diff
Items
Link copied to clipboard
constructor
(
newItems
:
List
<
Idable
>
,
oldItems
:
List
<
Idable
>
)
Functions
are
Contents
The
Same
Link copied to clipboard
open
override
fun
areContentsTheSame
(
oldItemPosition
:
Int
,
newItemPosition
:
Int
)
:
Boolean
are
Items
The
Same
Link copied to clipboard
open
override
fun
areItemsTheSame
(
oldItemPosition
:
Int
,
newItemPosition
:
Int
)
:
Boolean
get
Change
Payload
Link copied to clipboard
@
Nullable
open
fun
getChangePayload
(
p0
:
Int
,
p1
:
Int
)
:
Any
?
get
New
List
Size
Link copied to clipboard
open
override
fun
getNewListSize
(
)
:
Int
get
Old
List
Size
Link copied to clipboard
open
override
fun
getOldListSize
(
)
:
Int