Hi, all. I am facing the following problem: I have a big list of street names(~2000 entries), which is stored as a variable. I have an AutoCompleteTextView which should complete the names. The process takes really long time(approx. 2 - 3 seconds) to complete the suggestion. Is there any way to speed this up? I am pasting my code, if this is necessary:
AutoCompleteTextView fromInput = (AutoCompleteTextView) findViewById(R.id.NewOrder_FromInput); ArrayAdapter<String> streetsAutocompleteAdapter = new ArrayAdapter<String>( this, R.layout.autocomplete, getStreetsData()); fromInput.setThreshold(3); fromInput.setAdapter(streetsAutocompleteAdapter); The getStreetsData() method simply returns the static list of the names. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en