SyntaxFix
Write A Post
Hire A Developer
Questions
myList.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView<?> adapter, View v, int position, long id) { MyClass selItem = (MyClass) adapter.getItem(position); } }