Creating an intent in a new method

后端 未结 5 1224
失恋的感觉
失恋的感觉 2021-01-06 05:43

So I want an intent to start an Activity that simply brings up a dialog popup box telling the user how to use the app.

I have the code:

private final         


        
5条回答
  •  囚心锁ツ
    2021-01-06 06:26

    Change the intent line to: Intent intent = new Intent(ClassName.this, theNewClassName.class);

提交回复
热议问题