Hello i have a problem for my App. I develop a Online Shopping List for some friends and my family. It works finde but i would implement a new function.
I add a listview.setOnItemClickListener
in my code.
And here comes my Question
listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
String value = (String)adapter.getItem(position);
}
});
How can i set a AlertDialog
, that ask the user to highline the 'value' - article?
My listView
use the normal adapter
, no custom adapter and fills the content with a layout ressource.