shiz
shiz

Reputation: 115

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 events(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.

Upvotes: 0

Views: 238

Answers (1)

user432209
user432209

Reputation: 20167

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.

Upvotes: 1

Related Questions