Questions tagged [gesture-detection]

5 questions
11
votes
3 answers

Wrong nullable annotations: is there any way to overcome this on Kotlin, or should I use Java as a workaround?

Background I work on some large project on Android, that was originally written 100% in Java. As I've converted some files to Kotlin, I've found at least 2 cases that the documentation and the code declare that some parameters of some functions…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
6
votes
2 answers

GestureDetector.OnGestureListener overridden methods are not working in Android API 33

I've implemented the interface GestureDetector.OnGestureListener on my Activity. It was working fine with Android API 32 but after updating the Android API level from 32 to 33, I'm unable to override it's methods. When I roll back to Android API 32…
Feroz Khan
  • 2,396
  • 5
  • 20
  • 37
1
vote
1 answer

How to process multiple tensorflow models android

I am working on the app which will take the camera input and process with tensorflow model(for gesture detection) which will give the bounding box output. I have to take the output from the first model and should process the same to the second…
Sathish
  • 1,455
  • 1
  • 16
  • 22
0
votes
1 answer

GestureDetetector doesn't work what can I do?

Imagine a button called from the butcontainer class and a button created in the project class, when the button created in the project class is clicked, the gesture detector used text is displayed on the screen, while the button called from the…
0
votes
2 answers

How to recognize diagonal swipes in flutter?

I attempted to detect diagonal swipe direction using GestureDetector. I used the onPanStart method to detect the screen's corners. However, it is not perfect because it only considers the beginning of the gesture. Right now, if I swipe bottom left…