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

Listview Scroll events

3 Answers 257 Views
ListView
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 29 Jan 2018, 11:50 AM

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

3 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 01 Feb 2018, 07:36 AM
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
0
yl
Top achievements
Rank 1
answered on 24 Oct 2019, 11:56 AM

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.

0
Yana
Telerik team
answered on 25 Oct 2019, 08:45 AM

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:

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
Tags
ListView
Asked by
john
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
yl
Top achievements
Rank 1
Yana
Telerik team
Share this question
or