Xamarin Forms Android Detect Touches in Scroll View

Red255 71 Reputation points
2023-06-04T10:33:51.8933333+00:00

Hi - I'm trying to configure a scroll view in Xamarin forms (Android Only). I need to detect when a user first touches the scroll view (Touches Begin) and also when they lift there finger (Touches Ended). As well as the scroll movement (I can use the scrolled event for this). It would be good as well to detect when the scroll view stops scrolling - for example if the users pushes it fast then lifts up their finger I would like to know when it has stopped moving (Did End Scrolling). I would prefer to keep this in the C# code. Thanks

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,291 questions
{count} votes