setSimpleItems

open fun setSimpleItems(@ArrayRes stringArrayResId: Int)

Sets the simple string items of auto-completion with the given string array resource. This method will create a default ArrayAdapter with a default item layout specified by R.attr.simpleItemLayout to display auto-complete items.

See also


open fun setSimpleItems(@NonNull stringArray: Array<String>)

Sets the simple string items of auto-completion with the given string array. This method will create a default ArrayAdapter with a default item layout specified by R.attr.simpleItemLayout to display auto-complete items.

See also