Baseflow / Baseflow/PhotoView

How to get ACTION_UP event on OnTouchListener is defined outside from library?

Open
#592 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
18.8k
Forks
3.9k
PR merge metrics
No merged PRs in 30d

Description

First of all, I'm sorry what I can't speak English well.

I'm developing a kind of Image viewer that is showing Image when user touch the screen.
So I made a ImageView in front of ImageView applied this library.

First ImageView set OnTouchListener what is defined on my code, another one set PhotoViewAttacher.
It brings a bug after user touch first ImageView.
first ImageView can detect ACTION_DOWN event but can't detect another event like ACTION_MOVE , ACTION_UP.

It has to hide a image when user take screen off. but it can't

Is there a solution?? help me please

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.