android - local1 cannot be resolved or is not a field -


i don not know doing error on main.1 local1 = new main.1(this); multiple markers @ line

- local1 cannot resolved or not field  - syntax error on token ".1", . expected  - syntax error on token ".1", delete token  - constructor main(main) undefined 

and on localgridview.setonitemclicklistener(local1); error local1 cannot resolved variable

any suggestions?

import android.app.activity; import android.os.bundle; import android.view.window; import android.widget.gridview;  public class main extends activity {   public void oncreate(bundle parambundle)   {     super.oncreate(parambundle);     getwindow().setflags(1024, 1024);     setcontentview(2130903042);     setrequestedorientation(1);     gridview localgridview = (gridview)findviewbyid(2131034124);     imageadapter localimageadapter = new imageadapter(this);     localgridview.setadapter(localimageadapter);     main.1 local1 = new main.1(this);     localgridview.setonitemclicklistener(local1);   } } 


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -