toggle menu
Cloudstream
cloudstream
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.ui.result
/
SelectPopup
/
SelectArray
Select
Array
data
class
SelectArray
(
val
text
:
UiText
,
val
options
:
List
<
Pair
<
UiText
,
Int
>
>
,
val
callback
:
(
Int
?
)
->
Unit
)
:
SelectPopup
(
source
)
Members
Members & Extensions
Constructors
Select
Array
Link copied to clipboard
constructor
(
text
:
UiText
,
options
:
List
<
Pair
<
UiText
,
Int
>
>
,
callback
:
(
Int
?
)
->
Unit
)
Properties
callback
Link copied to clipboard
val
callback
:
(
Int
?
)
->
Unit
options
Link copied to clipboard
val
options
:
List
<
Pair
<
UiText
,
Int
>
>
text
Link copied to clipboard
val
text
:
UiText
Functions
callback
Link copied to clipboard
fun
SelectPopup
.
callback
(
index
:
Int
?
)
get
Options
Link copied to clipboard
fun
SelectPopup
.
getOptions
(
context
:
Context
)
:
List
<
String
>
get
Title
Link copied to clipboard
fun
SelectPopup
.
getTitle
(
context
:
Context
)
:
String
transform
Result
Link copied to clipboard
fun
SelectPopup
.
transformResult
(
input
:
Int
?
)
:
Int
?