I have a listview with 100 or so items, each when clicked opens another activity which has a button and an imageview. The plan is to have a different picture for each position in the listview.
So, I was wondering is thee any way when the user clicks an item in the listview to have the imageview in the other activity change its image ? (from drawable folder )
eg,
(if position == 1) {
otheractivity imageview src = "pic 1;
}
(if position == 2) {
otheractivity imageview src = "pic 2;
}
I really dont want to make 100 different activities.