7

How to get object value from listview adapter position

view full story
linux-howto

http://stackoverflow.com – How to get value from adapter position, i have code in below: mListView.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Object obj = mListView.getAdapter().getItem(position); String value = obj.toString(); Log.d("MyLog", "Value is: "+value); String name = // how code to get name value. } }); If i look log it on logcat in th (HowTos)