Skip to content

Xamarin syncfusion sflistview TapGestureRecognizer not firing on Android only #32

@33Infinity

Description

@33Infinity

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions