On Wednesday, December 22, 2010 9:46:39 AM UTC+6, pramod.deore wrote:
Hi TreKing, Thanks for reply
After changing code as now I get the item name of checkbox.
listView.setOnItemClickListener(new ListView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,
long arg3)
{
// TODO Auto-generated method stub
System.out.println ("User checked boxes");
System.out.println ("###"+listView.getItemAtPosition(arg2));
If you are dealing with CheckBox, can't you cast to CheckBox and use the checkBox.isChecked() method inside the event handler?
Regards
Sarwar Erfan
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment