i got following lines of code:
for (int = 0; < articles.length(); i++) { static { additem(new jsonparseritem("1", r.drawable.p1, "asd", "steve jobs", "focusing saying no.")); } }
after static red marker (error) tells me
identifier or type expected
how can solve this
why have static block in there? that's supposed under class, not inside loop.
remove , syntax error should disappear:
(int = 0; < articles.length(); i++) { additem(new jsonparseritem("1", r.drawable.p1, "asd", "steve jobs", "focusing saying no.")); }
Comments
Post a Comment