toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui.player.source_priority
/
PriorityAdapter
Priority
Adapter
class
PriorityAdapter
<
T
>
(
val
items
:
MutableList
<
SourcePriority
<
T
>
>
)
:
AppContextUtils.DiffAdapter
<
SourcePriority
<
T
>
>
(
source
)
Members
Constructors
Priority
Adapter
Link copied to clipboard
constructor
(
items
:
MutableList
<
SourcePriority
<
T
>
>
)
Types
Priority
View
Holder
Link copied to clipboard
class
PriorityViewHolder
(
val
binding
:
<Error class: unknown class>
)
Properties
comparison
Link copied to clipboard
val
comparison
:
(
first
:
SourcePriority
<
T
>
,
second
:
SourcePriority
<
T
>
)
->
Boolean
items
Link copied to clipboard
open
override
val
items
:
MutableList
<
SourcePriority
<
T
>
>
Functions
get
Item
Count
Link copied to clipboard
open
fun
getItemCount
(
)
:
Int
on
Bind
View
Holder
Link copied to clipboard
open
fun
onBindViewHolder
(
holder
:
<Error class: unknown class>
,
position
:
Int
)
on
Create
View
Holder
Link copied to clipboard
open
fun
onCreateViewHolder
(
parent
:
ViewGroup
,
viewType
:
Int
)
:
<Error class: unknown class>
update
List
Link copied to clipboard
fun
updateList
(
newList
:
List
<
SourcePriority
<
T
>
>
)