Long Click Listener:
lvList.setOnItemLongClickListener(new OnItemLongClickListener() {
@Override
public boolean onItemLongClick(AdapterView<?> arg0, View arg1,
int arg2, long arg3) {
// TODO Auto-generated method stub
Toast.makeText(getApplicationContext(), "U Long Clicked.."+str[arg2], 5000).show();
return true;
}
});
No comments:
Post a Comment