Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIMOB-13301] iOS support moveNext and movePrevious methods #5543

Merged
merged 6 commits into from Apr 8, 2014
Merged

[TIMOB-13301] iOS support moveNext and movePrevious methods #5543

merged 6 commits into from Apr 8, 2014

Conversation

vishalduggal
Copy link
Contributor

This adds the moveNext and movePrevious methods to Ti.UI.ScrollableView on iOS

This PR also brings parity to the scrolling behavior of ScrollableView on programmatically changing the current page in iOS and Android. The behavior is as follows

currentPage property - Non Animated Scroll
moveNext,movePrevious,scrollToView methods - Animated Scroll

Test is attached to JIRA TICKET

@@ -38,12 +38,14 @@ methods:
- name: moveNext
summary: |
Sets the current page to the next consecutive page in <Titanium.UI.ScrollableView.views>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should specify that this will set the next page with an animation

@pec1985
Copy link
Contributor

pec1985 commented Apr 7, 2014

Code reviewed. Added comments.

@pec1985
Copy link
Contributor

pec1985 commented Apr 8, 2014

PR reviewed and tested. APPROVED!

pec1985 added a commit that referenced this pull request Apr 8, 2014
[TIMOB-13301] iOS support moveNext and movePrevious methods
@pec1985 pec1985 merged commit b721e26 into tidev:master Apr 8, 2014
farfromrefug pushed a commit to Akylas/titanium_mobile that referenced this pull request Aug 15, 2014
[TIMOB-13301] iOS support moveNext and movePrevious methods
@vishalduggal vishalduggal deleted the timob-13301 branch October 27, 2014 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants