Cannot find how to add scroll event in DialogControllerView in MonoTouch.DIalog

I am currently working with Monotouch.Dialog and I have a large list of items. I don’t want to download all the data at once, so I implemented (on a monodistro) the LoadMore method, which loads more data into my list when I look at the bottom of the list (20 elements to the end, I LoadMore).

So my question is: how can I implement ScrollListener in my DialogControllerView, do the same in Monotouch?

thank:)

+3
source share
1 answer

Since uitableview is a subclass of uiscrollview, you can use uiscrollviewdelegate

this.TableView.Scrolled += (sender, e) => {};

I think this should work for you.

+1
source

All Articles