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

GestureRecognizer is not working on android using Xamarin.forms

$
0
0

public void EnableSubmitButton(){
LeftMenuItem.IsEnabled = true;
TapGestureRecognizer OnLeftMenuItemClicked = new TapGestureRecognizer ((s,e) => {
OnSubmitClicked (s,e);
});
LeftMenuItem.GestureRecognizers.Add (OnLeftMenuItemClicked);
}

This is the code which is used to add gesture recognizer into the Image. It's working on iOS perfectly. But In android OnLeftMenuItemClicKed is not triggered.

Thanks in Advance.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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