aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKoushik Dutta <koushd@gmail.com>2013-03-24 20:08:06 -0700
committerKoushik Dutta <koushd@gmail.com>2013-03-24 20:08:06 -0700
commit54aa882d7defa633c341d67e5324cef5d416eac6 (patch)
treedf08d586c970441fe6e41fe9af439fc16b079760 /README.md
parent0249f29c1bb8037b72f860b12295dcbfb15d6f28 (diff)
downloadAndroidAsync-54aa882d7defa633c341d67e5324cef5d416eac6.tar.gz
AndroidAsync-54aa882d7defa633c341d67e5324cef5d416eac6.tar.bz2
AndroidAsync-54aa882d7defa633c341d67e5324cef5d416eac6.zip
add support for futures on AsyncHttpClient. TODO: Futures on sockets?
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8f47279..691203c 100644
--- a/README.md
+++ b/README.md
@@ -11,8 +11,8 @@ NIO is extremely efficient.
// url is the URL to download. The callback will be invoked on the UI thread
// once the download is complete.
AsyncHttpClient.getDefaultInstance().get(url, new AsyncHttpClient.StringCallback() {
- @Override
// Callback is invoked with any exceptions/errors, and the result, if available.
+ @Override
public void onCompleted(Exception e, String result) {
if (e != null) {
e.printStackTrace();