We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Selection changed, grid tapped or itemtapped, not firing on Android if image has a tapgesturerecognizer.

Thread ID:

Created:

Updated:

Platform:

Replies:

145988 Jul 16,2019 07:05 PM UTC Jul 24,2019 05:54 AM UTC Xamarin.Forms 4
loading
Tags: SfListView
Gustav
Asked On July 16, 2019 07:05 PM UTC

I updated to the latest libraries yesterday (17.2.0.34) and events that were working on the SFListView no longer work if there is a tapgesturerecognizer on an image in the datetemplate. This was working and is still working on iOS and UWP.

Is this a known bug or a recurrence of an old bug?


<sflist:SfListView Grid.Row="2"
                   Grid.Column="0" Grid.ColumnSpan="4"
                   x:Name="lvRooms"
                   ItemSize="50"
                   SelectionMode="Multiple"
                   IsScrollBarVisible="True"
>
<sflist:SfListView.ItemTemplate>
<DataTemplate>
<Grid Padding="5">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width="1*"/>
<ColumnDefinition Width=".2*"/>
</Grid.ColumnDefinitions>
<Label Grid.Column="0" Text="{Binding RoomNumber}" Style="{StaticResource listLabelContents}"/>
<Label Grid.Column="1" Text="{Binding RoomDescription}" Style="{StaticResource listLabelContents}"/>
<Label Grid.Column="2" Text="{Binding CalcVolume}" Style="{StaticResource listLabelContents}"/>
<Image Grid.Column="3" Source="{local:ImageResource xxx.Images.info.png}" Scale=".5"> 
<Image.GestureRecognizers>
<TapGestureRecognizer x:Name="tapInfo" Tapped="TapGestureRecognizer_Tapped" CommandParameter="{Binding .}" />
</Image.GestureRecognizers>
</Image>
</Grid>
</DataTemplate>
</sflist:SfListView.ItemTemplate>



Gustav
Replied On July 16, 2019 07:46 PM UTC

I rolled back to 17.1.0.53 and I can confirm that it works in this release. So this is an issue with the new build.

Dinesh Babu Yadav [Syncfusion]
Replied On July 18, 2019 03:18 AM UTC

Hi Gustav,   
   
Apologies for the inconvenience. 
 
We are glad to announce that our latest weekly NuGet package update version 17.2.0.35 has been rolled out and the reported issue has been resolved and it is available for download (nuget.org).   
   
We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.   
   
Regards,   
Dinesh Babu Yadav 


Gustav
Replied On July 23, 2019 03:21 PM UTC

I can confirm that the 17.2.0.35 fixes the issue.

Thanks!

Dinesh Babu Yadav [Syncfusion]
Replied On July 24, 2019 05:54 AM UTC

Hi Gustav, 
 
Thanks for the update. Please get back to us if you require further assistance. 
 
Regards, 
Dinesh Babu Yadav 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon