Re: [mono-android] AutoCompleteTextView (con't)

2013-05-20 Thread gspro
Spencer wrote > Try calling ca.NotifyDataSetChanged() after you've reloaded your adapter > from the service. What should be in that method? I put this method in the adapter, but not sure how to implement. It gets called, but the list still doesn't get displayed. public override void NotifyDataSe

Re: [mono-android] AutoCompleteTextView (con't)

2013-05-19 Thread Spencer
Try calling ca.NotifyDataSetChanged() after you've reloaded your adapter from the service. The call to get the company contacts should run in a new thread to prevent UI thread from blocking. But the call to NotifyDataSetChanged needs to run on the UI thread, so you should use RunOnUiThread to mak

[mono-android] AutoCompleteTextView (con't)

2013-05-18 Thread gspro
I posted before regarding this question, but am still struggling. I created a custom adapter to bind the autocomplete to an array list dynamically - a web service is called after 2 characters are typed. The code is a combination of the xamarin content control samples, and another sample on the web