Question : runonuithread not found
Answered by : thoughtless-termite-49yecfy3m23a
((Activity)context).runOnUiThread(new Runnable() { public void run() { Toast.makeText(context, toast, Toast.LENGTH_SHORT).show(); } });
Source : https://stackoverflow.com/questions/9992060/runonuithread-undefined-for-class | Last Update : Sat, 09 Jan 21