I had a scenario where I need to handle the clicks of each list item one by one with out clicking on that item. Is there a possiblity in which I can achieve this scenario. Can anyone help me is sorting out this issue.
Thanks in Advance
I had a scenario where I need to handle the clicks of each list item one by one with out clicking on that item. Is there a possiblity in which I can achieve this scenario. Can anyone help me is sorting out this issue.
Thanks in Advance
mList.performItemClick(
myList.getAdapter().getView(position,null,null),position,myList.getAdapter().getItemId(position));
here position is your click position
or simply you can do this
mList.getAdapter().getView(position, null, null).performClick();
You can retrieve your list item and call item.perFormClick()