简体   繁体   中英

How to program a double tap action in Android?

View_B is implemented to listen double tap action. In View_A, I need to send a double tap action to View_B.

How to send a double tap action by code ??

Thanks.

you can set a time_before before the tap, and the another time_after after tap/taps. if time_after - time_before less than certain value, it might be a double tap.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM