Using the CheckBox widget on a ListView/GridView row
If you have a ListView or a GridView and if their rows contain a CheckBox, don't forget to set the following attributes to those CheckBoxes:
android:focusable="false"
android:focusableInTouchMode="false"
Otherwise, it will prevent your ListView/GridView to respond to click events. More info, here: http://bit.ly/nMtgvQ
Written by Amokrane Chentir
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Android
Authors
Related Tags
#android
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#