触摸事件:当手指从项目中删除 [英] Touch event: when finger is removed from the item
本文介绍了触摸事件:当手指从项目中删除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要实现的功能,当我从项目中删除的手指。所以,我需要一些事件。
I am need to implement functionality when i remove the finger from the item. So i need some event for that.
***Scenario:***
1. Touch the image view using finger.
2. Remove the finger.
3. Now implement the functionality.
我要在步骤2中的事件回调。
如果一些predefined事件存在请建议的名称。
If some predefined event exist please suggest the name.
推荐答案
确定。当你触摸屏上移开手指的事件致电:
Ok. When you touch screen and remove your finger events call :
- ACTION_DOWN - 当你第一次触摸
- ACTION_MOVE - 当你在屏幕上移动手指
- ACTION_UP - 当你从屏幕上移开手指
- ACTION_DOWN - when you first touch
- ACTION_MOVE - when you are moving your finger on screen
- ACTION_UP - when you remove your finger from screen
祝你好运!
这篇关于触摸事件:当手指从项目中删除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文