You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2019. It is now read-only.
Hello,
In my app, I have several view inside a scrollview, but they are not stuck together.
They sometimes leave blank between each other and they sometimes overlap.
I would love to use DMCircularScrollView to be able to loop the scrollview, but I don't know exactly where to look to be able to handle such a feature.
I think that it has something to do with the relayoutPageItems function where you seems to shift all the viewsToLoad by a fixed offset_x.
Do you think it requires to change things elsewhere ?
One more thing : I would also like to disable the paging mode. I found it inside initWithFrame but it works only when I scroll from right to left, not from left to right ; do you have an idea ?
The text was updated successfully, but these errors were encountered:
This control uses the concept of paginated UIScrollView with a scrollview inside a parent view and centered horizontally in it; left and right elements are visible because clipToBounds is set to false and I've forwared -hitPoint event to the scrollview.
In order to make a full loop (without pagination) you should play with UIScrollView delegate methods and adjust final position at the end of any scroll animation. It's not complicated but I've not enough time to play with it, so if you want it could be a nice implementation.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
In my app, I have several view inside a scrollview, but they are not stuck together.
They sometimes leave blank between each other and they sometimes overlap.
I would love to use DMCircularScrollView to be able to loop the scrollview, but I don't know exactly where to look to be able to handle such a feature.
I think that it has something to do with the relayoutPageItems function where you seems to shift all the viewsToLoad by a fixed offset_x.
Do you think it requires to change things elsewhere ?
One more thing : I would also like to disable the paging mode. I found it inside initWithFrame but it works only when I scroll from right to left, not from left to right ; do you have an idea ?
The text was updated successfully, but these errors were encountered: