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-12305] Control overScrollMode for scrolling containers #3841

Merged
merged 5 commits into from Feb 6, 2013
Merged

[TIMOB-12305] Control overScrollMode for scrolling containers #3841

merged 5 commits into from Feb 6, 2013

Conversation

vishalduggal
Copy link
Contributor

JIRA TICKET

Test is in comments for all 4 scrolling containers.

@ghost ghost assigned mstepanov and ayeung Feb 4, 2013

@Kroll.constant public static final int OVER_SCROLL_ALWAYS = 0 ; //android.view.View.OVER_SCROLL_ALWAYS;
@Kroll.constant public static final int OVER_SCROLL_IF_CONTENT_SCROLLS = 1; //android.view.View.OVER_SCROLL_IF_CONTENT_SCROLLS;
@Kroll.constant public static final int OVER_SCROLL_NEVER = 2; //android.view.View.OVER_SCROLL_NEVER;
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 just set these to View.Over_SCROLL_ALWAYS instead of the actual value like we do with other android constants.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will crash on Android 2.2. Hence the constants

@ayeung
Copy link
Contributor

ayeung commented Feb 5, 2013

Code reviewed, left one comment.

@ayeung
Copy link
Contributor

ayeung commented Feb 6, 2013

During the functional test, I noticed that overscroll property doesn't really work for scrollable view/ webview on my galaxy SII ( 2.3 device). Is this expected?

@vishalduggal
Copy link
Contributor Author

We are only controlling the overscroll mode. Not the edge effects associated with the oversroll event. On S2 running 2.3.6 the edge effects are only defined for the table view I think. Starting from 3.0 I think edge effects are defined for all scrolling containers.

@ayeung
Copy link
Contributor

ayeung commented Feb 6, 2013

Code reviewed and functionally tested. Request Accepted

ayeung pushed a commit that referenced this pull request Feb 6, 2013
[TIMOB-12305] Control overScrollMode for scrolling containers
@ayeung ayeung merged commit 5450152 into tidev:master Feb 6, 2013
@vishalduggal vishalduggal deleted the timob-12305 branch October 27, 2014 19:10
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