Hello I have, ArrayAdapter<String> MainList = new ArrayAdapter<String>(this,android.R.layout.simple_list_item_1, types); MainList.setItemOnClickListener(//...); setListAdapter(MainList);
I have a Basic List and when I click on a list element I want to display a Toast of what was clicked but the only method I found was setItemOnClickListener. This method does not work for the ArrayAdapter class though. Anyone know how to fix this? -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en