Will this make the current UI thread to sleep?
try
{
Thread.sleep(20);
onProgressUpdate(i);
} catch (InterruptedException e) {
e.printStackTrace();
}
See Question&Answers more detail:osWill this make the current UI thread to sleep?
try
{
Thread.sleep(20);
onProgressUpdate(i);
} catch (InterruptedException e) {
e.printStackTrace();
}
See Question&Answers more detail:os