Thanks TreKing very much.
I tried many ways.
at the if(), I used this to get the checkbox. And it worked.
arg0 instanceof CheckBox
Thanks your response.
Amy Wu
geish...@gmail.com
On 2010-10-22 1:53, TreKing wrote:
On Thu, Oct 21, 2010 at 2:55 AM, LiangLiang Wu geish...@gmail.com
f my list has 10 items.. the onclick listener is fired only for the 10th
item. How to get the state of checkbox in a onListItemClick in Listactivity?
I have a class OnItemClickListener like this:
private class OnItemClickListener implements OnClickListener {
private int mPosition;
On Thu, Oct 21, 2010 at 2:55 AM, LiangLiang Wu geish...@gmail.com wrote:
but only when I check the last item's checkbox, it go A correctly. Other
items' checkbox are checked they just go B. Who could tell me where I am
wrong.
Well, you're checking if the argument is the same as the reference
3 matches
Mail list logo