1

How to get value of the selected item from the itemlist

view story
linux-howto

http://stackoverflow.com – I m not getting the value of the selected item from the list view public void onItemClick(AdapterView<?> listview, View v, int position, long id) { ContactBean bean = (ContactBean) listview.getItemAtPosition(position); String val = (listView.getItemAtPosition(position).toString()); Toast.makeText(getApplicationContext(),val, Toast.LENGTH_SHORT).show(); } (HowTos)