I have a list view with an image view and text in a linear layout. I want to perform different operations when user clicks on the Image view and the Text view. I have tried onItemClickListener but it’s capturing on the whole linear layout. I tried onClickListener in custom adapter, but were unable to get its position.
How can I resolve this problem?
Here i m sharing my code.i have three Textviews in each list item and on one of them i put a listener.This code is for reference.Learning from the below code U can put listeners on different list items.Now i hope u can write code as u want.