This is a migrated thread and some comments may be shown as answers.

Missing a listView scroll to.. method

1 Answer 139 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Christoffer
Top achievements
Rank 1
Christoffer asked on 11 Oct 2016, 06:42 AM

Hi,
im currently working on a calendar where I want to use  a listview to keep track of my task.
The listview is categorized in dates. My problem is i cant find any method to make my listview scroll to the specific date I point out in my calendar.

For instance if i pick the date 12-12-2016 in my calendar, I want my listview to scroll to that appointment. 

 

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 13 Oct 2016, 08:38 AM
Hello,

I already answered to this question in your other thread but I will copy the same answer here so that others from the community can benefit.

As for controlling the scroll position of the ListView, currently there is no API available in the XamarinForms suite. However, the rest of the platform support such API in the native controls. This means that you can implement this functionality in your solution using custom renderers. You can use these methods:
Android: scrollToPosition, iOS: scrollToItemAtInxedPath, UWP: ScrollItemIntoView(). We logged a feature request based on your requirement.

Regards,
Pavel R. Pavlov
Telerik by Progress
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Christoffer
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or