I have to detect when user taps on slider. Unfortunately, TapGestureRecognizer seems not be working when attached to Slider control:
var trg = new TapGestureRecognizer();
trg.Tapped += Trg_Tapped;
No event is fired regardless of how many taps have been made.
I have also tried a second approach - I have derived from Slider class and tried to handle TapGestureRecognizer inside my own class. No success.
I finally tried the last thing. I have implemented a bare StackLayout and registered TapGestureRecognizer. All of the tap events were recognized correctly. However, as soon as I added Slider control as StackLayout's child - TapGestureRecognizer stopped working.
Is it possible to correctly detect tap events on Slider control without using any third-party libraries? I find this feature to be crucial for Slider in my app, but it does not work . I have tested all three approaches on Android (on Lollipop API 22 and above) real device and emulator. I am not able to verify this on other platforms.
Many thanks for any clues and help in advance