开发者

Android: cancelling pending events

I would like to be able to cancel开发者_运维百科 all pending events in my App. How do I do it?

If many events stack up (due to the user "mashing" different areas of the screen repeatedly) I would like to cancel all events except the last one.

This is not the same as stopping the propagation of events further down the view stack (which is done by returning "true" from the event handler (for an example of this see here).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜