Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xamarin syncfusion sflistview TapGestureRecognizer not firing on Android only #32

Open
33Infinity opened this issue Nov 6, 2020 · 1 comment

Comments

@33Infinity
Copy link

HotelReservationOption_Tapped is not firing for Android. Works fine in iOS.

I am using Xamarin.Forms 4.8.0.1560
All my syncfusion packages are 18.3.0.40
Target Framework is Android 9.0 (Pie)

<syncfusion:SfListView AutoFitMode="Height" ItemsSource="{Binding ReservationListActive}" SelectionBackgroundColor="Transparent" VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" Margin="0,10,0,0"> <syncfusion:SfListView.ItemTemplate> <DataTemplate> <ViewCell> <StackLayout> <ScrollView VerticalOptions="FillAndExpand"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="*"></RowDefinition> <RowDefinition Height="Auto"></RowDefinition> </Grid.RowDefinitions> <StackLayout Grid.Row="0" Margin="20,9,20,14" Orientation="Horizontal"> <StackLayout Orientation="Vertical" Spacing="6"> <Label Text="{Binding HotelName}" TextColor="{StaticResource LabelColor}" FontSize="18"></Label> <StackLayout Orientation="Horizontal" Spacing="9"> <Image Source="calendarPageEmpty1"></Image> <Label Text="{Binding HotelName}" TextColor="{StaticResource LightGrey2}" FontSize="14"></Label> </StackLayout> </StackLayout> <Image HorizontalOptions="EndAndExpand" Source="dots.png" HeightRequest="20" WidthRequest="20" BackgroundColor="Transparent"> <Image.GestureRecognizers> <TapGestureRecognizer Tapped="HotelReservationOption_Tapped" CommandParameter="{Binding HotelID}"/> </Image.GestureRecognizers> </Image> </StackLayout> <BoxView Grid.Row="1" HeightRequest="1" Color="{StaticResource LineColor}"></BoxView> </Grid> </ScrollView> </StackLayout> </ViewCell> </DataTemplate> </syncfusion:SfListView.ItemTemplate> </syncfusion:SfListView>

@LakshmiNatarajan21
Copy link

Hi @33Infinity ,

We have checked the reported query “Xamarin syncfusion sflistview TapGestureRecognizer not firing on Android only” from our end. We would like to inform you that we are unable to reproduce the reported scenario at our side. We have attached the tested sample in the following link,
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/3015061347217706

Additional information:
Tested device: Android 8.1 API 27 emulator
SfListView version: 18.3.0.40
Xamarin Forms: 4.8.0.1560
Xamarin: 16.7.000.456
Xamarin Designer: 16.7.0.495
Xamarin Templates: 16.7.85
Xamarin Android SDK: 11.0.2.0

Could you please check our sample and let us know if you still facing the same issue? If not, please modify our sample and share the device configuration details which will be helpful for us to check on it and provide you the solution as soon as possible.

Regards,
Lakshmi Natarajan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants