PHP中文网2017-04-17 13:37:04
To call Handler in a thread, you need to call Looper first. For details, see Toast and Looper. Handler message loop mechanism.
阿神2017-04-17 13:37:04
Handler is not the handler in the main thread, so you need to create the looper object yourself!