Answer the question
In order to leave comments, you need to log in
How to switch from a window to another activity?
I need to click on a button from a window to another activity, I tried using Intent - it doesn't work (it says that it can't find the class).
.setNeutralButton("Изменить", new DialogInterface.OnClickListener(){
@Override
public void onClick(DialogInterface dialog, int which){
Intent intent = new Intent(MainActivity.this, RemakeItem.class)
startActivity(intent);
)
Answer the question
In order to leave comments, you need to log in
What is a RemakeItem? There you need to specify the class of the activity you are switching to.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question