[android-developers] ListView and check box.
I'm using a list view with a custom adapter. And the row contains a check box.
Without the check box, everything works fine.
If I use a check box inside a list-view row, then I basically don't get a on-item-click callback.The other side effect is, the "click" or "press" visual feedback is also not shown.
For the callback, in the "getView" of the adapter, I can register for a callback for the "row". Like this:
row.setOnClickListener(mOnItemClickListener);
But I couldn't figure out any way of getting the visual feedback to work.
Is there anyway I can get the visual feedback to work?
-- 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