+ 1
What does this mean in Android? (Solved)
The console keeps saying: insert VariableDeclaratorId to complete formalParameterList And I don't know what this means and the internet is no help.... How does this apply to what I'm trying to do? (Making one piece of code to run timers on different objects as shown below) Timer timer= new Timer(); TimerTask task= new TimerTask(){ public void run(thing){ cur= this.getX(); if(cur <500){ cur+= 2; this.setX(cur); } else{ this.setX(1/100); } } }; Shop item=new Shop(); timer.schedule(task(item), 0L, 10L * 1L); } }
3 Answers
+ 5
Please move your code to code bit, that way it would be super easy to figure out the problem
+ 1
Ananiya Jemberu
Here is, thou I wanted it to run in Android which is why I'm asking what the term means
https://code.sololearn.com/cGXaVBOmfzeS/?ref=app
+ 1
Simple Are you wanting me to clarify my question more?