Android MIDP 绘图方法的替代方案
Android 有哪些 MIDP Canvas.repaint()
和 Canvas.serviceRepaints()
的替代品?
What are the Android's alternatives to MIDP's Canvas.repaint()
and Canvas.serviceRepaints()
?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果从 UI 线程调用
View.invalidate()
,如果从非 UI 线程调用View.postInvalidate()
,这将处理 Canvas。 repaint()我认为 android 没有相当于 Canvas.serviceRepaints()
View.invalidate()
if called from the UI thread andView.postInvalidate()
if called from a non-UI thread, This will take care ofCanvas.repaint()
I dont think android has an equivalent to
Canvas.serviceRepaints()