开发者

Using view with separate thread than UI thread.

I have my own view which i draw a few bitmaps in the onDraw() function but this slows down getting touch ev开发者_运维知识库ents(miss some of them) that is why i want to separate drawing Bitmaps' thread and getting touch events' thread(UI Thread) but i don't know how because they both seems to must be in the UI thread.


You need to go look at the sample applications that google provides as part of the SDK. They give detailed examples of how to do stuff like this.

I would start with LunarLander.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜