I think the easiest way is to keep track of the checked state in a
member array/list.

Something like this.

    boolean[] selectedItems = new boolean[10];

    void handleItemClick(View view, long rowId)
    {
                CompoundButton checkBox = (CompoundButton)
view.findViewById(android.R.id.checkbox);
                selectedItems[rowId] = checkBox.isChecked();
    }



On Jan 6, 7:57 pm, Manoj <[email protected]> wrote:
> Hi
> I am using ListView with checkbox as items and want to access the
> checkbox status.
> Would anybody help me on this topic.
>
> Manoj Chauhan
-- 
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