I want to retrieve check items of list view

Posted by kamil on Stack Overflow See other posts from Stack Overflow or by kamil
Published on 2012-06-11T10:36:07Z Indexed on 2012/06/11 10:39 UTC
Read the original article Hit count: 200

Filed under:
for(int i=0;i < users.size();i++)
            {
                map = new HashMap<String, String>();
                map.put("id",String.valueOf(i));
                map.put("userID", String.valueOf(users.get(i).getUserId()));
                map.put("emailID", users.get(i).getEmailAddress());
                memList.add(map);
            }

            ListAdapter adapter = new SimpleAdapter(this, memList , R.layout.member_list_view,
                    new String[] { "emailID" },new int[] { R.id.memTextView});

            memberList.setAdapter(adapter);

I have to retrieve the checked items on a separate button listener. how can I? I am using a customize list view. Plz help...

© Stack Overflow or respective owner

Related posts about android