Android的 - 检测长preSS结束 [英] Android - Detect End of Long Press
本文介绍了Android的 - 检测长preSS结束的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的工作中,用户需要preSS按住一个按钮很长一段时间的应用程序。
I am working on application in which a user needs to press and hold a button for a long time.
我如何能够检测到用户的那一刻:完成了preSS或移动的触摸位置
How can I detect the moment that the user: finishes the press or moves their touch position?
感谢
推荐答案
我想你可以使用的 OnTouchListener 这一点。
I think you can use OnTouchListener for this.
这篇关于Android的 - 检测长preSS结束的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文