开发者

Android LunarLander and JetBoy Thread source

Hallo,

Is there a reason why the Thread class in the SDK LunarLander and JetBoy examples are not each in 开发者_Go百科a separate java file, rather than being inside the View file?

It would make things a bit clearer, IMHO. Am I missing something?

  • Frink


They are bother inner classes so it allows them to share global variables


Look at ReplicIsland source for a different example..

but the first step in thinking about is what is the DVM behavior concerning a class when GC operates between a class in a separate file and a class in another class file..

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜