Search Results

Search found 1 results on 1 pages for 'pardroid'.

Page 1/1 | 1 

  • How to detect GUI thread on Android?

    - by ParDroid
    Is there a robust way to detect if Thread.currentThread() is the Android system GUI-thread in an application? I would like to put some asserts in my model code that asserts that only one thread (eg the gui-thread) accesses my state, to assure that no kind of synchronization is neccesary.

    Read the article

1