Metriche repository
- Star
- (23.592 star)
- Metriche merge PR
- (Merge medio 11g) (13 PR mergiate in 30 g)
Descrizione
I want to capture scroll event and perform some manipulation when list is scrolling.
I checked list-view api documentation, but it seems there isn't any scroll event emitted by list-view.
For android, I am able to capture scroll event by setting scrollListener on android native list using setOnScrollListener method.
For iOS to capture scroll event we need to implement scrollViewDidScroll method in UITableView delegate. But nativescript's ios implementation of list-view is already setting delegate (without that method) and the delegate class is not exported, so I am not able to extend that class.
It will be great if we can have a common scroll event using setOnScrollListener for android and scrollViewDidScroll for iOS or any other better approach. If that is not possible, then at-least if UITableViewDelegateImpl class is exported, then we can override that for iOS.
Let me know if there is already any solution for capturing scroll event on list-view and I am missing that.
Thanks.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.