Wednesday, May 27, 2015

Looper and thread

When I created a handler inside a thread ( not main thread ), the program will terminate directly.

According the logcat log, it needs Looper, after added the Looper inside the thread, it works.



No comments:

Post a Comment