Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Tap gesture on Image is not working inside ViewCell on Android

$
0
0

Hi All

What I was trying to achieve is a button for making a product favorite, so it will have two states - selected and deselected. Here is the example of UI
image

Initial approach was just adding the image to Button. But that had several shortcomings which you can see here. Then what I tried to do is just create an Image and add tap gesture on it. This approach worked perfectly fine on iOS devices, but on Android the image never receives the tap gesture. Perhaps the issue is that ListView cell itself has a tap gesture and that steals the gesture from the image? Is my guess correct? Is there a way to overcome this issue?

Regards


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>