Missing a listView scroll to.. method

2 posts, 0 answers
  1. Christoffer
    Christoffer avatar
    1 posts
    Member since:
    Sep 2016

    Posted 11 Oct 2016 Link to this post

    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!

  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1251 posts

    Posted 13 Oct 2016 Link to this post


    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.

    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
Back to Top