toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui.result
/
DiffCallback
Diff
Callback
class
DiffCallback
<
T
>
(
oldList
:
List
<
T
>
,
newList
:
List
<
T
>
)
(
source
)
Members
Constructors
Diff
Callback
Link copied to clipboard
constructor
(
oldList
:
List
<
T
>
,
newList
:
List
<
T
>
)
Functions
are
Contents
The
Same
Link copied to clipboard
open
fun
areContentsTheSame
(
oldItemPosition
:
Int
,
newItemPosition
:
Int
)
:
Boolean
are
Items
The
Same
Link copied to clipboard
open
fun
areItemsTheSame
(
oldItemPosition
:
Int
,
newItemPosition
:
Int
)
:
Boolean
get
New
List
Size
Link copied to clipboard
open
fun
getNewListSize
(
)
:
Int
get
Old
List
Size
Link copied to clipboard
open
fun
getOldListSize
(
)
:
Int