1

Find position of check box in list view

view story
linux-howto

http://stackoverflow.com – I have a custom adapter for a list view. The row view is a check box. I have used setOnClickListener() to handle when the user clicks the check box. What I am wondering is if there is a way for me to know the position of the check box in the list view when it is clicked. Here is the code for my adapter if it helps. private class TagAdapter extends BaseAdapter { public TagAdapter(ArrayList<Tag> items) { mTagList = items; } public int getCount() { return mTagList.size(); } public Object getItem(int position) { return mTagList.g (HowTos)