Missing a listView scroll to.. method

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

    Posted 11 Oct Link to this post

    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!

  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 13 Oct Link to this post

    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
  3. DevCraft banner
Back to Top