> I have a list activity which is doing something very strange when you
> select items.
> It doesn't seem to be de-selecting old items if you click on a
> different one.
> if you use the trackball it seems to select every other item and then
> swap the selection as you move up and down.
>
> I'm not doing anything special
>
> just
>
> getListView().setChoiceMode(ListView.CHOICE_MODE_NONE);
> setListAdapter(new LevelAdapter(this));
> getListView.setOnItemClickListener(this);
>
>
> the LevelAdapter inflates a view from XML but I don't see why that
> would be causing issues.

Temporarily modify LevelAdapter to not inflate views itself, but let
Android handle it (even if this means you only show one bit of text or
something, rather than what you want your rows to look like). If your
problem goes away, the issue is somewhere in the way you are defining and
inflating the views.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to