toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui
/
BaseDiffCallback
Base
Diff
Callback
class
BaseDiffCallback
<
T
:
Any
>
(
val
itemSame
:
(
T
,
T
)
->
Boolean
=
{ a, b -> a.hashCode() == b.hashCode() }
,
val
contentSame
:
(
T
,
T
)
->
Boolean
=
{ a, b -> a.hashCode() == b.hashCode() }
)
(
source
)
Members
Constructors
Base
Diff
Callback
Link copied to clipboard
constructor
(
itemSame
:
(
T
,
T
)
->
Boolean
=
{ a, b -> a.hashCode() == b.hashCode() }
,
contentSame
:
(
T
,
T
)
->
Boolean
=
{ a, b -> a.hashCode() == b.hashCode() }
)
Properties
content
Same
Link copied to clipboard
val
contentSame
:
(
T
,
T
)
->
Boolean
item
Same
Link copied to clipboard
val
itemSame
:
(
T
,
T
)
->
Boolean
Functions
are
Contents
The
Same
Link copied to clipboard
open
fun
areContentsTheSame
(
oldItem
:
T
,
newItem
:
T
)
:
Boolean
are
Items
The
Same
Link copied to clipboard
open
fun
areItemsTheSame
(
oldItem
:
T
,
newItem
:
T
)
:
Boolean
get
Change
Payload
Link copied to clipboard
open
fun
getChangePayload
(
oldItem
:
T
,
newItem
:
T
)
:
Any