1

How to set OnClickListener in ImageView which is inside a ListView?

view story
linux-howto

http://stackoverflow.com – I have a ListView with some items in each row. One of these items is a ImageView clickable. I created a separate Adapter class to create the ListView and fill it with all items. In my Activity, I set this Adapter, as below: //myScenesArray is the array of items I want to fill in the Adapter ListView listView = (ListView) findViewById(R.id.sceneslistview); ListViewScenesAdapter customListAdapter = new ListViewScenesAdapter(this.getBaseContext(), R.layout.scenesrow, myScenesArray); listView.setAdapter(customListAdapter); I can create Listener to each row, as below: listView.setOnItemClickL (HowTos)