Listview Scroll events

4 posts, 0 answers
  1. john
    john avatar
    22 posts
    Member since:
    Jan 2017

    Posted 29 Jan 2018 Link to this post

    I need to know when the listview has scrolled past the first item in the list.

    I am currently looking at the native renderer events for scrolling and although I am using a custom renderer they are not fired.

    How can I hook into the scroll events?

     

    Thanks for the help,

     

    John

  2. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    665 posts

    Posted 01 Feb 2018 Link to this post

    Hello, John,

    As my colleague advised in the ticket you have raised, currently the control does not expose such events so we have logged it as a feature request  - ListView: Add ItemAppearing/ItemDisapearing event. You can subscribe to the item in order to receive notifications once there is an update. In the meantime, please share more information on what exactly you are trying to achieve so we can suggest other approaches if possible. The control has built-in load-on-demand functionality which might be useful in your case- ListView Load On Demand. 

    Have a great rest of the week.

    Regards,
    Stefan Nenchev
    Progress Telerik
    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. yl
    yl avatar
    1 posts
    Member since:
    Jun 2019

    Posted 24 Oct 2019 Link to this post

    The "Scrolled" event is such a essential feature.

    For example, i made a floating searchbar with transparent frame, and a RadListView with HeaderTemplate that is longer than a screen of the device, i would like to detect whether the listview has scrolled for more than 10px vertically. If yes, set the background of the frame of the searchbar to my desired color.Xamarin.Forms, collectionview, listview, and scrollview has Scrolled event, but why RadListView does not? Using ItemAppearing event is just avoiding the problem instead of solving it. It will not be able to fulfill the criteria as the any item does not even enter the screen yet before the required task need to be done.

  4. Yana
    Admin
    Yana avatar
    5013 posts

    Posted 25 Oct 2019 Link to this post

    Hello,

    Thank you for explaining the scenario you have in details.  I agree that providing a scrolled event and scrolling API would be a valuable addition to the RadListView feature-set.  We have this logged in our public portal where we're tracking the demand. Please check the item at the link below:

    ListView: Introduce API for providing scroll info when the control's scrollview position is changed

    Please cast you vote and follow the public feature request in order to get notified on status updated.

    Let me know if I can help with anything else.

    Regards,
    Yana
    Progress Telerik

    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