I have a listView with some elements.
I would like to get the name (String) of the selected item from my onClickListener.
I know how to get the selected position, but how to find the row of this element?
Here is my click listener:
journalNames.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView<?> parent, View view,int position, long id) { }});
My View list is populated with some query from the database.
Thanks.
android android-listview
Miloลก
source share