开发者

Java, android - help me understand code please

first, I spend all day finding the answers by myself, with no luck.

So, I am learning开发者_运维问答 to develop for Android. I setup SDK, got everything running. I am also new to java and OOP itself. I have benn programming before, I know several Assemblers and C very well.

So, what I dont really understand is, in every game tutorial, game loop and SurfaceView is started like a new thread. But why? Why to start new thread for this, instead just let it flow from activity start method?

Thanks.


The article on Painless Threading explains this very well.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜