This question shows research effort; it is useful and clear
0
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.
我想知道在我这样做之后如何从 Gameview 类中调用一个 int 值:setContentView(new GameView(this, this));。在设置内容视图之后设置一个新实例
GameView game = new GameView(this , this );只会使我的程序崩溃。还有其他方法可以检索我的 int 值吗?