更新时间:2023-11-25 14:37:10
也许你可以使用mouseup事件。行为几乎相同,并支持你描述的功能。
希望这会有所帮助......
maybe yout can use the mouseup event. the behaviour is nearly the same and supports the feature you discribe.
hope this helps...
SurfaceView [ ^ ]没有 - 但它扩展查看 [ ^ ],它有一些非常有趣的绘图和事件处理方法(键和触摸屏)。
也许你可以找到一个钩子。请阅读文档,它非常好。
SurfaceView[^] does not have that - but it extends View[^], which has some pretty interesting methods for drawing and event processing (keys and touchscreen).
Maybe you can find a hook there. Please read in the documentation, it''s pretty good.