Stéphane Piette
Stéphane Piette

Reputation: 5421

Android - indexed list with clickable elements

I'm trying to have this kind of listview but instead of red images named "person", I want to have a clickable image.

Unfortunatly, with this implementation we can't custom each view to set a ClickListener on each image item.

Any ideas to change that ?

Upvotes: 0

Views: 848

Answers (2)

Nikhil
Nikhil

Reputation: 16196

Check below ..

Tutorial1

Tutorial2

Tutorial3

Upvotes: 1

Jaydeep Khamar
Jaydeep Khamar

Reputation: 5985

Use a custom ListAdapter and then you can access the Images of you Listadapter as shown in the answer of this link: Need help to delete selected item from listview

Upvotes: 0

Related Questions