Xamarin Forms ListView scroll to group on Android

EJ 366 Reputation points


I have grouped ListView and use ScrollTo event in my app like following:

listView.ScrollTo( group.Items[0], group, Xamarin.Forms.ScrollToPosition.Start, false );

It works perfectly on iOS as the group header I scroll to will be aligned at the top, but on Android it scrolls to the first item in the group and group header is not visible.

Is there a way to fix this, perhaps with custom renderer for Android etc.?

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