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. Image for the cookie policy date

SfListView and SfEffectsView ItemTemplate Issue

I'm using the latest version ( and I'm trying to use SfEffectsView with SfListView ItemTemplate. Unfortunately, while it shows an effect, SfListViewTapCommand not firing. Please support.

       <syncEffectsView:SfEffectsView  BackgroundColor="{StaticResource Primary}"
         RippleColor="{StaticResource PrimaryLight}" 
         <Grid Padding="5">
  <RowDefinition Height="Auto" />
  <RowDefinition Height="Auto" />
  <ColumnDefinition Width="Auto" />
  <ColumnDefinition Width="1*" />

1 Reply

GP Gnana Priya Namasivayam Syncfusion Team November 28, 2019 11:59 AM UTC

Hi Alex, 
Sorry for the inconvenience caused. 
We would like to inform you that as per the current behavior of EffectsView touch will pass to the view and it won't return to the parent. Because of this case in Android, ListView ItemTapped Command not working. Also, we should not handle ShouldIgnoreTouches to pass touch to the parent, since it required for EffectsView. We wrongly mentioned you to use the same in our last update. If your requirement is to Ripple while selection you can achieve the same by enabling the Visual as Material as in the following Case1. 

If your requirement to handle the selection with the combination you can use SfEffectsView and use it
SelectionChanged event instead of handling in ListView TapCommand as in the following case 2.

Please refer the following code,
<ContentPage xmlns:local="clr-namespace:SortingFiltering" Visual="Material" 
     <DataTemplate x:Name="ItemTemplate"> 
         <syncEffectsView:SfEffectsView  BackgroundColor="LightGreen"  
              x:Name="itemEffect"  SelectionChanged="ItemEffect_SelectionChanged"> 
public partial class MainPage : ContentPage 
   private void ItemEffect_SelectionChanged(object sender, EventArgs e) 
     // You can handle selection changed events instead TapCommand 
We have attached the sample for your reference, please find it from the following link. 
We hope this helps. Please let us know if you need any further assistance. 
Gnana Priya N 

Live Chat Icon For mobile
Up arrow icon