android Programming Glossary: startcalc
Pass variables between renderer and another class with queueEvent() http://stackoverflow.com/questions/8417859/pass-variables-between-renderer-and-another-class-with-queueevent class MyAsyncTask extends AsyncTask Void Void Void @Override protected Void doInBackground Void... arg0 myRenderer.startCalc tell renderer to start calculation while myRenderer.isFinishedCalc waiting for calc to finish but not blocking UI thread.. onProgressUpdate Void... progress update UI Then in renderer public class MyRenderer implements Renderer private startCalc false private finishCalc false public void startCalc finishCalc false startCalc true public boolean isFinishedCalc return.. in renderer public class MyRenderer implements Renderer private startCalc false private finishCalc false public void startCalc finishCalc false startCalc true public boolean isFinishedCalc return finishCalc public void onDraw GL10 gl if startCalc..
|