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.
1.4m articles
1.4m replys
5 comments
57.0k users