How to call Main thread from secondary thread in Android?
The simplest way is to call runOnUiThread(...) from your thread
activity.runOnUiThread(new Runnable() { public void run() { ... do your GUI stuff } });
1.4m articles
1.4m replys
5 comments
56.9k users