title: How to detect list view scrolling direction in xamarin forms
body: <p>I have tried to detect the scrolling direction of the list view. My requirement is need to implement different functionality while list view scrolling up and scrolling down. Please suggest any idea for detecting list view scrolling direction. I have tried below syntax in my list view.</p>
  
  <h2>Sample code:</h2>
  
  <pre><code> &lt;StackLayout&gt;
      &lt;Label x:Name="Direction" /&gt;
      &lt;ListView ItemsSource="{Binding Items}" HasUnevenRows = "true" ItemAppearing="Handle_ItemAppearing" IsPullToRefreshEnabled = "true"&gt;
      &lt;ListView.ItemTemplate&gt;
              &lt;DataTemplate&gt;
                  &lt;ViewCell&gt;
                      &lt;StackLayout&gt;
                      &lt;Label Text = "{Binding}" /&gt;
                      &lt;/StackLayout&gt;
                  &lt;/ViewCell&gt;
              &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
          &lt;/ListView&gt;
  &lt;/StackLayout&gt;
  </code></pre>