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.BuildersetSelections(Array<String> selections)设置选项中的文字 BottomSelectDialog.BuildersetSelectionsColor(Array<int> colors)设置选项中的文字的颜色资源(需要是 resource color 资源。)。 长度必须与 setSelections 一直才能生效。 当设置值为 0 时,使用默认颜色。 BottomSelectDialog.BuildersetTitle(String title)设置标题。 标题可不设置。 BottomSelectDialogbuild()-
-
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()
-
-
-
-