Will this make the current UI thread to sleep?
try { Thread.sleep(20); onProgressUpdate(i); } catch (InterruptedException e) { e.printStackTrace(); }
Only if called from the UI thread.
2.1m questions
2.1m answers
60 comments
57.0k users