fredsa / forplay

Automatically exported from code.google.com/p/forplay
Apache License 2.0
12 stars 4 forks source link

Make all async APIs consistently asynchronous #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
All APIs for fetching resources, making network requests, and so forth are 
asynchronous because:
- It's just better that way, because you don't block the UI thread 
accidentally, and
- We don't have a choice on the web anyway.

But the Java and Android platforms don't always adhere to this constraint. This 
makes it easy to miss async bugs, especially when you're doing most of your 
development in Java.

We should make the behavior of all these APIs consistent, so that it's easier 
to catch bugs earlier in development.

Original issue reported on code.google.com by jgw@google.com on 28 May 2011 at 2:08