-
Notifications
You must be signed in to change notification settings - Fork 417
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
Scrolling improvements #3663
base: scrolling-improvements
Are you sure you want to change the base?
Scrolling improvements #3663
Conversation
@shannah please review |
This PR only appears to apply to peer components, not the general app. So, before merging this I need to:
Also, I sense that this was not the intention of the PR. The title of the PR and the associated issue make is sound like this was intended to add scroll-wheel support to CN1 android apps in general. I don't think it does that. And possibly the AsyncView also. |
* Mouse Event Listener used to handle mouse wheel events | ||
* The mouse wheel can be used to scroll the page up or down | ||
*/ | ||
layoutWrapper.setOnGenericMotionListener(new View.OnGenericMotionListener() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This adds a motion listener to a native peer component. E.g. a webview or other native component. Not the main view. Probably we need to add similar in CodenameOneView if we want this to be for general app.
Fix #3657