toggle menu
Cloudstream
androidJvm
switch theme
search in API
Cloudstream
/
com.lagradost.cloudstream3.utils
/
SingleSelectionHelper
/
showDialog
show
Dialog
fun
Activity
?
.
showDialog
(
binding
:
<Error class: unknown class>
,
dialog
:
Dialog
,
items
:
List
<
String
>
,
selectedIndex
:
List
<
Int
>
,
name
:
String
,
showApply
:
Boolean
,
isMultiSelect
:
Boolean
,
callback
:
(
List
<
Int
>
)
->
Unit
,
dismissCallback
:
(
)
->
Unit
,
itemLayout
:
Int
=
R.layout.sort_bottom_single_choice
)
fun
Activity
?
.
showDialog
(
items
:
List
<
String
>
,
selectedIndex
:
Int
,
name
:
String
,
showApply
:
Boolean
,
dismissCallback
:
(
)
->
Unit
,
callback
:
(
Int
)
->
Unit
)