toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui.result
/
ImageAdapter
Image
Adapter
class
ImageAdapter
(
val
clickCallback
:
(
Int
)
->
Unit
?
=
null
,
val
nextFocusUp
:
Int
?
=
null
,
val
nextFocusDown
:
Int
?
=
null
)
(
source
)
Members
Constructors
Image
Adapter
Link copied to clipboard
constructor
(
clickCallback
:
(
Int
)
->
Unit
?
=
null
,
nextFocusUp
:
Int
?
=
null
,
nextFocusDown
:
Int
?
=
null
)
Types
Image
View
Holder
Link copied to clipboard
class
ImageViewHolder
(
val
binding
:
<Error class: unknown class>
)
Properties
click
Callback
Link copied to clipboard
val
clickCallback
:
(
Int
)
->
Unit
?
=
null
next
Focus
Down
Link copied to clipboard
val
nextFocusDown
:
Int
?
=
null
next
Focus
Up
Link copied to clipboard
val
nextFocusUp
:
Int
?
=
null
Functions
get
Item
Count
Link copied to clipboard
open
fun
getItemCount
(
)
:
Int
get
Item
Id
Link copied to clipboard
open
fun
getItemId
(
position
:
Int
)
:
Long
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
<
Int
>
)