In fact there is a way to get the status of the checkbox using

myLayout=listview.getChildAt(position);

instead of

myLayout=listAdapter.getView((int) i, null, list); (it creates a new
View, that the reason why the checkbox doesn't have the right status).

to get the Layout corresponding to the position.

Then it is easy to get the status of the Checkbox using
c=(CheckBox)myLayout.findViewById(R.id.choice);

-- 
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