Fragments, setRetainInstance(true), and threaded libraries

You could get around this issue using a higher level concurrency utility such as a Latch, which you could have all of your threads wait on until the new Activity is attached (just before they try to access the message queue to deliver their result).

Once the Activity is attached, you can release the Latch, allowing all the threads to deliver their results.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)