Don’t know how to name this action. You can see it in many natively developed IOS apps these days. You are in a record, you want to go the next, you swipe from right to left, the whole record detail swipes left to reveal the next record from the right. I wonder if we can implement this in scrollView somehow. Any thoughts?
Any thoughts?
Any thoughts?
This question probably relates more to the Widgets than the Storyboard so if one of the admins could move it there I would be much obliged!
I have been thinking more about this but can’t seem to figure out a way with our given tool set. Has anyone managed to implement this behavior in their apps? Any hints or guidance will be much appreciated.
Thank you very much!!!
Hey ksan,
You’re talking basically about a paginated scrollview, right?
That’s something we don’t really have at the moment. You can use however three panels (can be instances of scrollView) (one on the screen, one to the left - hidden, one to the right - hidden). In the initialization routine, set an array of contents with the current view, and also prepare content for the left and right ones. Upon swiping, create the respective transition, set the respective panel to visible and the one that left the screen invisible, and populate the panel with the respective information from the array.
Am i making sense?
Alex
Hi Alex, thanks for the idea. Yes this makes sense. I would basically lock the horizontal scroll so the scrollView itself would not not move its content when I have a swipe event and then catch this event in the scrollViews event listener and trigger the sliding of scrollviews themselves. I think I can manage this. Let me give it a go and see how far I will get. Thanks again.
Sure thing, Kerem. Always happy to help.
Alex
You’re the best!
Quick follow-up. I was able to set a 3 scrollview sideways sliding jig with minimal fuss. Amazing how versatile Corona SDK and widgets can be!!!
I don’t have the aesthetics worked out yet. One scrollView slides out and the other sort of snaps in since I’m using a transition.to to place it on screen. Will try to make it look more like the real deal but worst case this will still do the job!
Will try and post some videos etc later and see if anyone has an idea on how I can use the existing scrollView elastic horizontal scrolling visuals to my advantage for the incoming scrollView.
Thanks once again.
Sure thing, always glad to help
Alex
Here’s my little progress report to date :
Apologies for the crappy video quality but this should give you an idea on where I am. Once the scrollView widget fix for movement direction is in I think I can que in the incoming scrollview’s animation somehow and make it look more like the samples I see on native IOS apps. Any suggestions to make the transition neater please let me know. Thanks for looking.
This question probably relates more to the Widgets than the Storyboard so if one of the admins could move it there I would be much obliged!
I have been thinking more about this but can’t seem to figure out a way with our given tool set. Has anyone managed to implement this behavior in their apps? Any hints or guidance will be much appreciated.
Thank you very much!!!
Hey ksan,
You’re talking basically about a paginated scrollview, right?
That’s something we don’t really have at the moment. You can use however three panels (can be instances of scrollView) (one on the screen, one to the left - hidden, one to the right - hidden). In the initialization routine, set an array of contents with the current view, and also prepare content for the left and right ones. Upon swiping, create the respective transition, set the respective panel to visible and the one that left the screen invisible, and populate the panel with the respective information from the array.
Am i making sense?
Alex
Hi Alex, thanks for the idea. Yes this makes sense. I would basically lock the horizontal scroll so the scrollView itself would not not move its content when I have a swipe event and then catch this event in the scrollViews event listener and trigger the sliding of scrollviews themselves. I think I can manage this. Let me give it a go and see how far I will get. Thanks again.
Sure thing, Kerem. Always happy to help.
Alex
You’re the best!
Quick follow-up. I was able to set a 3 scrollview sideways sliding jig with minimal fuss. Amazing how versatile Corona SDK and widgets can be!!!
I don’t have the aesthetics worked out yet. One scrollView slides out and the other sort of snaps in since I’m using a transition.to to place it on screen. Will try to make it look more like the real deal but worst case this will still do the job!
Will try and post some videos etc later and see if anyone has an idea on how I can use the existing scrollView elastic horizontal scrolling visuals to my advantage for the incoming scrollView.
Thanks once again.
Sure thing, always glad to help
Alex
Here’s my little progress report to date :
Apologies for the crappy video quality but this should give you an idea on where I am. Once the scrollView widget fix for movement direction is in I think I can que in the incoming scrollview’s animation somehow and make it look more like the samples I see on native IOS apps. Any suggestions to make the transition neater please let me know. Thanks for looking.
Hi Ksan,
I’m sorry to bring up this old post. I’m trying to implement this too and curious if you could share some codes or somebody has put theirs on the net somewhere :).
Thanks,
So Lin