Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

android-event

View.onTouchEvent only registers ACTION_DOWN event

December 20, 2023 by Tarik
Categories android Tags android, android-custom-view, android-event, touch-event Leave a comment

How to distinguish between move and click in onTouchEvent()?

February 1, 2023 by Tarik

Here’s another solution that is very simple and doesn’t require you to worry about the finger being moved. If you are basing a click as simply the distance moved then how can you differentiate a click and a long click. You could put more smarts into this and include the distance moved, but i’m yet … Read more

Categories android Tags android, android-event, event-handling, touch-event Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa