Alexander Reyes
Alexander Reyes
Of course you can :)
Hi Nik, i made a change to the port. CurrentPage wasn't updating so, i changed ScrollView Scrolled event to this: [Foundation.Export ("scrollViewDidScroll:")] public void Scrolled (UIScrollView scrollView) { // Update...
Hi Nik, There's something this thing needs. It needs to behave like android viewpager and recycle rendered screens. That means that only 3 screens will be rendered at a time:...
maybe you can take a look at this: http://stackoverflow.com/questions/14755782/releasing-unused-pages-in-uipageviewcontroller and we can work it out together :)
C# supports Lazy, i don't know if that's the equivalent. Can you give an example?
How can i add a listener to this thing so, when i am at the last controller, if i swipe/drag from right to left, load more items?
Take a look at this, it may help you with the loading and recycling views. The code seems to be complicated comparing with yours: https://github.com/nicklockwood/SwipeView
I was able to load more with this code: [Foundation.Export ("scrollViewWillBeginDragging:")] public void DraggingStarted (UIKit.UIScrollView scrollView) { _contentOffsetX = scrollView.ContentOffset.X; } [Foundation.Export ("scrollViewDidEndDragging:willDecelerate:")] public async void DraggingEnded (UIKit.UIScrollView scrollView, bool...
K, i will take a look, Tanke
Nik, I added this line of code to your library ViewDidLoad event to solve dragging problem when only 1 view: containerScrollView.AlwaysBounceHorizontal = true; I think we may create this thing...