codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.

Home Page:https://www.codenameone.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Android Port Doesn't Handle Mouse Events Properly, Specifically Scroll Wheel

shai-almog opened this issue · comments

Looking at the code we will probably need to add a listener to mouse events here and some handling similar to this.

Android docs have some discussion about the types of events available in newer versions of Android that should include those gestures here.

RFE based on this reddit thread.

In the simulator, the scroll wheel generates a down/drag/up sequence which tricks things that thought they were
implementing drag scrolling into working. In a fresh start this ought to be tossed. Given that android devices with
keyboards and mice are not a common thing now, I would favor starting over with an api like the native java.

@shai-almog Hi, I am a first-time contributor. I would like to spend some time to look into this issue and crack it!

codenameone isn't the most approachable crew for outside contributors. Generally
the procedure is for you to do all the work on spec, and produce a pull request.

@Tianfeng-Chen good luck. We're here for you.

@ddyer0 get lost. Seriously. You literally asked for this feature and you're actively trying to discourage people who want to help. This has been your attitude in our community for a while now. Maybe that's why people don't want to help you.

i wasn't trying to discourage him, I was pointing him in the direction to move.