ListActivity selection behaves oddly

by momojo » Fri, 07 May 2010 20:50:45 GMT

Sponsored Links
 I have a very large ListActivity with about 1000 items. I allow the
user to type so I can filter the list. The problem is that when I try
to grab the list item that the user clicks on (after filtering) I get
the wrong Item. I am obviously missing something in the API?


ListActivity selection behaves oddly

by TreKing » Fri, 07 May 2010 23:03:35 GMT


What's the index of the item you're clicking on versus the index of the item
you're actually getting?
This should tell you how it's behaving.

TreKing - Chicago transit tracking app for Android-powered devices 


Sponsored Links

Other Threads

1. How switch my android source tree to another branch?

You can *try* repo init -b master and repo init -b cupcake, after
making sure that you're running the latest version of repo (1.6.3).
I've never done it myself, so I'm not 100% sure that it'll work.


Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further


2. Capture POST headers

I'm overriding WebViewClient#shouldOverrideUrlLoading(WebView view,
String url) to do some aggregate loading of remote HTML. Works great
for regular links and GET forms, but the loaded data may also contain
POST form. Is it possible to get form field values if form method is
set to POST? Or in more general terms - is it possible to access
request headers inside of the above method?

3. How do I keep OptionsMenu open?

4. Insanely slow read() from HttpsURLConnection...

5. Problem when booting kernel image to s3c6410

6. Activity with no UI

7. Can we call framework classes directly?