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

Handle Scrolling Events

1 Answer 29 Views
ListView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cody
Top achievements
Rank 1
Cody asked on 11 Apr 2017, 04:57 PM

I am using TKListView and I am trying to read a value from the top-most (visible) cell *after* a user scrolls through the list.

I am trying to implement *scrollViewDidScroll*

My controller signature looks like the following:
class LogController: UIViewController, TKListViewDataSource, TKListViewDelegate 

- I have tried implementing UIScrollViewDelegate on the controller and setting the .delegate property of the listView control to the controller.
- I have tried the above without having the controller implementUIScrollViewDelegate

Is there a way to capture scroll events on TKListView?  Is there a better way to watch for an list item being scrolled out of the visible area?

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 18 Apr 2017, 07:24 AM
Hello,

Thanks for writing.

Did you try implementing the TKListViewDelegate first? It inherits from UIScrollViewDelegate which contains the didScroll* callbacks.

Let me know if you need further assistance with this.

Regards,
Deyan
Telerik by Progress
Want to build beautiful Android apps as well? Check out UI for Android which enables the same set of scenarios, allowing you to create the same great app experience on both iOS and Android.
Tags
ListView
Asked by
Cody
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or