Detect specific element tap in listview item


how to detect tap on specific element in listview item not item tap, but get this items context when tap on lcoation image for example… Untitled


itemTap will give you event.view which was actually tapped.


how? how can i detect if click was on location icon? event.view gives me nothing, when i click on icon it says that i clicked on StackLayout


It worked for me most times, can you try reproducing the issue with Playground?

#5 styling is not good but you can test by clicking on location icon


I think adding tap event for each UI element in template is the feasible solution here. If you want to do some action upon clicking icon, add tap event to that Image and handle that. This will not trigger item tap on list view, clicking anywhere else will trigger item tap.