The auto-complete list is provided by an adapter, which is responsible for:
1) Filtering 2) The drop-down list item views (sort of like with spinner and list view). Here is the adapter from the built-in Email app: http://www.grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android-apps/2.3.7_r1/com/android/email/EmailAddressAdapter.java?av=f -- Kostya 16 января 2012 г. 2:29 пользователь sblantipodi <perini.dav...@dpsoftware.org> написал: > I don't understood how to pass contacts from phonebook to > AutoCompleteTextView or MultiAutoCompleteTextView > > > On 15 Gen, 22:52, Kostya Vasilyev <kmans...@gmail.com> wrote: >> What it takes is: >> >> - Extending AutoCompleteTextView or MultiAutoCompleteTextView >> - Providing a suitable adapter >> >> Take a look at the built-in Email app: >> >> http://www.grepcode.com/file/repository.grepcode.com/java/ext/com.goo... >> >> Or else take a look at K-9, you can also browse its source repository online. >> >> -- Kostya >> >> 16 ÑÎ×ÁÒÑ 2012šÇ. 1:34 ÐÏÌØÚÏ×ÁÔÅÌØ sblantipodi >> <perini.dav...@dpsoftware.org> ÎÁÐÉÓÁÌ: >> >> >> >> >> >> >> >> > Hi, >> > I have an EditText, I would like to activate autocomplete on it. >> >> > Something that help user to autocomplete with the correct email >> > address. >> >> > Is there some code snippet I can read on how to do it? >> >> > 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 > > -- > 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 -- 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