The constructor Intent(new View.OnClickListener()) is undefined

Issue:
The constructor Intent(new View.OnClickListener(){}, Class<NewWindow>) is undefined.



Solution: Find out --

Intent intent = new Intent(this, NewWindow.class);

Change the this to getApplicationContext() or StartClass.this .

 

Post a Comment