Swipe gestures on Galaxy Watch Active 2

Swipe gestures on Galaxy Watch Active 2

BY 09 Nov 2019 Tizen .NET

Hello, i am trying to implement swipe gesture recognizement on a Galaxy Watch Active 2, but i ran into some problems.

The way i am trying is via Xamarin Forms’s SwipeGestureRecognizer, but it seems like the actual swipe does not trigger the command.

The setup i am tying is this:

<Grid>
            <Grid.GestureRecognizers>
                <SwipeGestureRecognizer Direction=”Right” Command=”{Binding SwipeCommand}”/>
                <SwipeGestureRecognizer Direction=”Left” Command=”{Binding SwipeCommand}” />
            </Grid.GestureRecognizers>

…etc…

</Grid>

 

but the command simply does not get triggered. I also tried without specifying a direction, and setting a threshold of 100, 10 and 1. No changes. 

Is this the right way? How can it be done alternatively?

Thank you very much for your time

Written by