toggle menu
Cloudstream
androidJvm
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.utils
/
AppContextUtils
/
DiffAdapter
/
GenericDiffCallback
Generic
Diff
Callback
inner
class
GenericDiffCallback
(
oldList
:
List
<
T
>
,
newList
:
List
<
T
>
)
:
DiffUtil.Callback
Members
Constructors
Generic
Diff
Callback
Link copied to clipboard
constructor
(
oldList
:
List
<
T
>
,
newList
:
List
<
T
>
)
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