Saturday, March 31, 2012

[android-developers] Has ListView been modified in the latest SDK?

I'm looking at two of my apps, both with a ListView, and for both, the
ListView is defined/described (whatever you want to call it) the same
in both XML and in Java (variable names and resource IDs excepted, of
course).

Here's the catch: in the first, and older app, touching anywhere on the
"bar" for an item in the Listview would select that item. In the newer
app, with the current SDK, *ONLY* touching the area enclosing the text
will select that item.

Both use the same Adapter settings, a similar setOnItemClick method
(nothing that sets anything in/for the ListView), and neither has any
"special" options set. Just the defaults.

Does anyone know if the SDK includes changes in ListViews that might
account for this? (I didn't spot anything in the dev guide, but I
could easily have missed it.) I really don't like this new behavior,
whatever is causing it....

Thanks,
--jim

--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 >
spooky130u@gmail.com ICBM/Hurricane: 30.44406N 86.59909W

"'Wrong' is one of those concepts that depends on witnesses."
--Catbert: Evil Director of Human Resources (Dilbert, 05Nov09)

Android Apps Listing at http://www.jstrack.org/barcodes.html

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate