toggle menu
Cloudstream
cloudstream
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
>
)
(
source
)
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
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