I'm trying to write code that will place a delay between steps without clearing the screen.
Code:
TextView infotext;
String inforstring;
for (int x = 1; x < 10; x++ ){
infostring = infostring + "\n" + x;
infotext.setText(infostring);
// 10 second delay here
...
}
I tried using the Thread.sleep() function, but it clears the screen and doesn't give the display back until all the iterations have completed, then all the numbers are displayed.
Code:
try {
Thread.sleep(10000);
} catch (InterruptedException e) {}
Thanks in advance for any suggestions or comments.
-- L. James
--
L. D. James
ljames@apollo3.com
www.apollo3.com/~ljames