2018/12/02

Communication between a working thread and UI thread

Some API like requesting user location, needs to be called in the main UI thread. How to send a message from a working thread to main UI thread? Here is an example:

Post Code on Blogger

Simplest way to post code to blogger for me: <pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black;overflow-x:...