You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 12, 2025. It is now read-only.
As many of you asked (even received some mails!), I rewrote most of the lib and here is how you can customize the view very easily.
It's quite simple to get an example because the library itself is based on this process: the base view is a custom view. You can basically copy the DemoAdapter and modify it with your own layout.
There are some restrictions though: it's not released yet because I need some testers (but it works properly on my different devices), so you have to clone the project and take the branch feature/properCustomAdapter to get started.
Then, subclass CustomViewAdapter
publicclassDemoAdapterextendsCustomViewAdapter
After that, you have the data you need in the ArrayList<People> called displayed, so I would do something like that:
Then, you have two choices: go in the AutoCompleteContactTextView itself and change line 145 with your newly created adapter (I'm sure it works); or you can call setCustomAdapter(Adapter) from your code but I didn't test that (I'm too lazy).