Detect Motion Event On Screen
May 6, 2019
When I was working on analytics for Kinetic, the click event in setOnClickListener never gets called. So I find out a secondary solution is to catch up the screen motion event in Activity.
Override the following function:
1 |
|
There is one problem with this touch event is that it will called on any kinds of motions. For example, you scroll the view. What if I only when user click on the screen?
