Package io.rong.imkit.widget.dialog
Class BottomSelectDialog.Builder
-
- All Implemented Interfaces:
public class BottomSelectDialog.Builder
构造器。 通过 setSelections 来设置选项。 通过 build 创建实例。 创建实例后通过setOnSelectListener 设置监听。
-
-
Constructor Summary
Constructors Constructor Description BottomSelectDialog.Builder()
-
Method Summary
Modifier and Type Method Description BottomSelectDialog.Builder
setSelections(Array<String> selections)
设置选项中的文字 BottomSelectDialog.Builder
setSelectionsColor(Array<int> colors)
设置选项中的文字的颜色资源(需要是 resource color 资源。)。 长度必须与 setSelections 一直才能生效。 当设置值为 0 时,使用默认颜色。 BottomSelectDialog.Builder
setTitle(String title)
设置标题。 标题可不设置。 BottomSelectDialog
build()
-
-
Method Detail
-
setSelections
BottomSelectDialog.Builder setSelections(Array<String> selections)
设置选项中的文字
-
setSelectionsColor
BottomSelectDialog.Builder setSelectionsColor(Array<int> colors)
设置选项中的文字的颜色资源(需要是 resource color 资源。)。 长度必须与 setSelections 一直才能生效。 当设置值为 0 时,使用默认颜色。
-
setTitle
BottomSelectDialog.Builder setTitle(String title)
设置标题。 标题可不设置。
-
build
BottomSelectDialog build()
-
-
-
-