tags:

views:

27

answers:

1

Please Help me for getting the selected Item from a ListView. Items for the ListView are getting from a xml file. Elements of the ListView are filled up by the adapter(adpter contains ImageView and textView). I only need the TextView content from the ListView.By using the onItemClick i get only the index of the item.

Thank You

+1  A: 

You can try with getSelectedItem() method.

Adrian Faciu
I am getting null value while using getSelectedItem().
mohammedsuhail