Are Android Handlers Thread Safe?
I am doing some refactoring into an Android project. I have stumble upon a strange piece of code that I consider non thread-safe. Am I correct to think that this example could caus
Solution 1:
Looper can deliver Message to handler only when thread is awake. 'foo' is a private field, and if you access it only from that method - that is fine
Post a Comment for "Are Android Handlers Thread Safe?"