title: Can I change the background color in ListView cells without losing haptic (touch) feedback?
body: <p><em>(I asked on the <a href="https://forums.xamarin.com/discussion/73821/how-do-i-change-the-background-color-in-listview-cells-without-losing-haptic-touch-feedback#latest" rel="nofollow noreferrer">Xamarin forums</a> but didn't get a response, so I'm trying here)</em></p>
  
  <p>In Xamarin Forms, setting <code>BackgroundColor</code> in a ListView <code>ItemTemplate</code> <a href="https://stackoverflow.com/a/36255159/238419">causes haptic-feedback to be disabled</a>.</p>
  
  <p><strong>Is there any way around this?</strong>  I'd like to customize the colors of my list-items, but not having haptic feedback looks like garbage.</p>
  
  <p>Example XAML:</p>
  
  <pre><code> &lt;ListView x:Name="list"
             ItemTapped="OnItemSelected"
             IsGroupingEnabled="True"
             GroupDisplayBinding="{Binding Key}"
             GroupShortNameBinding="{Binding Key}"
             HasUnevenRows="True"
             ItemsSource="{Binding .}"&gt;
      &lt;ListView.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;ViewCell&gt;
                &lt;StackLayout VerticalOptions="FillAndExpand"
                             Padding="5, 20"
                             BackgroundColor="#CCCCCC"&gt; &lt;!--This line causes haptic feedback to fail --&gt;
                  &lt;Label Text="{Binding Name}"
                         TextColor="Black"
                         VerticalOptions="Center"
                         FontSize="Large"/&gt;
                &lt;/StackLayout&gt;
              &lt;/ViewCell&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>The closest I've gotten is changing the <code>BackgroundColor</code> in <code>ViewCell.Tapped</code>, then changing it back in <code>View.OnAppearing()</code> <em>(<code>ViewCell.Appearing</code> is broken)</em>, but that changes the background when the finger is lifted, rather than when it's pressed.</p>
  
  <p>I'm testing on Android but would prefer a cross-platform solution.</p>