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 .
Details can be found here -
No comments:
Post a Comment