1.
2.
MultiAutoCompleteTextView textView = ( MultiAutoCompleteTextView ) findViewById ( R.id.editText1 );
textView.setAdapter ( adapter );
// 设置多个值之间的分隔符,此处为逗号
textView.setTokenizer ( new MultiAutoCompleteTextView.CommaTokenizer ( ) );
时间: 2024-10-10 10:05:30