title: Xamarin forms swipe view in list view does not work
body: <p>I there,</p>
  <p>I am trying to use swipe view inside a list view cell and I am getting an unexpected behaviour on Android.
  The cell does not swipe to display the menu on android. Also, while clicking an entry field inside a cell triggers itemSelected event. Please refer to below gif for the problem.</p>
  <p>I am using following code</p>
  <pre><code>&lt;ListView
                      ItemsSource=&quot;{Binding Products}&quot;
                      IsVisible=&quot;{Binding Products.Count, Converter={StaticResource CountToBoolConverter}}&quot;
                      SelectedItem=&quot;{Binding SelectedProduct}&quot;
                      HasUnevenRows=&quot;True&quot;&gt;
                      &lt;ListView.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;!-- &lt;StackLayout&gt; --&gt;
                              &lt;ViewCell&gt;
                                  &lt;SwipeView&gt;
  &lt;SwipeView.LeftItems&gt;
                                          &lt;SwipeItems&gt;
                                              &lt;!-- Item History button --&gt;
                                              &lt;SwipeItem
                                                  Text=&quot;History&quot;
                                                  BackgroundColor=&quot;{StaticResource ColorSecondary}&quot;
                                                  Command=&quot;{Binding BindingContext.HistoryBtnCommand, Source={x:Reference ProductList}}&quot;
                                                  CommandParameter=&quot;{Binding .}&quot;
                                                  IsVisible=&quot;{Binding ShowProductHistory}&quot; /&gt;
  
  
                                          &lt;/SwipeItems&gt;
                                      &lt;/SwipeView.LeftItems&gt;
  
                                      &lt;SwipeView.RightItems&gt;
                                          &lt;SwipeItems&gt;
                                              &lt;!-- Item History button --&gt;
                                              &lt;SwipeItem
                                                  Text=&quot;Delete&quot;
                                                  BackgroundColor=&quot;{StaticResource ColorDanger}&quot;
                                                  Command=&quot;{Binding BindingContext.DeleteProductCommand, Source={x:Reference ProductList}}&quot;
                                                  CommandParameter=&quot;{Binding .}&quot;
                                                  IsVisible=&quot;{Binding ShowItemDeleteButton}&quot; /&gt;
                                              &lt;SwipeItem
                                                  Text=&quot;Add&quot;
                                                  BackgroundColor=&quot;{StaticResource ColorPrimary}&quot;
                                                  Command=&quot;{Binding BindingContext.AddProductToProfileCommand, Source={x:Reference ProductList}}&quot;
                                                  CommandParameter=&quot;{Binding .}&quot;
                                                  IsVisible=&quot;{Binding ShowAddItemToProfileButton}&quot; /&gt;
                                          &lt;/SwipeItems&gt;
                                      &lt;/SwipeView.RightItems&gt;
  &lt;/SwipeView&gt;
   &lt;/ViewCell&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListView.ItemTemplate&gt;
                  &lt;/ListView&gt;
  </code></pre>
  <p><a href="https://i.stack.imgur.com/GBOzp.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GBOzp.gif" alt="Behaviour on android" /></a></p>
  <p>[![Behaviour on iOS][2]][2]</p>
  <p>Behaviour on Android</p>
  <p>Behaviour on iOS
  [2]: <a href="https://i.stack.imgur.com/p6XI4.gif" rel="nofollow noreferrer">https://i.stack.imgur.com/p6XI4.gif</a></p>
  <p>Any idea will be helpful. I need menus on the cell. I tried using context menus but could not find to remove items dynamically.</p>