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値を取得する他の方法はありますか?