Android MultiautoCompletTextViewスペースを使用するときに表示リストは表示されません
-
14-11-2019 - |
質問
私のAndroidアプリケーションのmultiautocompleteTextViewにアダプタを設定しました。
ArrayAdapter<String> adapter = new ArrayAdapter<String>(SearchSuburb.this, android.R.layout.simple_dropdown_item_1line, sub);
searchtext.setAdapter(adapter);
static final String[] sub = new String[] { "Melbourne VIC 3000", "East Melbourne VIC 3002", "West Melbourne VIC 3003", "St Kilda Road Central VIC 3004", "World Trade Centre VIC 3005",
"South Wharf VIC 3006", "Southbank VIC 3006"};
.
私がタイピングしながらスペースに出くわされるまでうまく機能します。
私がVICを入力したとき、それは予測結果を与えますが、私が空間を押すと消えます。 この問題を解決する方法?
事前にありがとう!
解決
I had the same problem and found this
所属していません StackOverflow