summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorRomain Guy <romainguy@android.com>2010-07-12 11:35:31 -0700
committerAndroid Code Review <code-review@android.com>2010-07-12 11:35:31 -0700
commit25940667870e782c1d84ed7f6e4e87d92c14c6cb (patch)
tree5fc89dbb7e9739de32ed5e25c04f19c476e49445 /docs
parent014568bf45fdf32ce1ea7ef205ac8c8b09fc2b56 (diff)
parentb91a4c4f2325c879c549efe59b16195abad09920 (diff)
downloadframeworks_base-25940667870e782c1d84ed7f6e4e87d92c14c6cb.zip
frameworks_base-25940667870e782c1d84ed7f6e4e87d92c14c6cb.tar.gz
frameworks_base-25940667870e782c1d84ed7f6e4e87d92c14c6cb.tar.bz2
Merge "Fixed a Documentation Error in the AsyncTask Contstructor"
Diffstat (limited to 'docs')
-rw-r--r--docs/html/resources/articles/painless-threading.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/resources/articles/painless-threading.jd b/docs/html/resources/articles/painless-threading.jd
index 921f4df..17cec35 100644
--- a/docs/html/resources/articles/painless-threading.jd
+++ b/docs/html/resources/articles/painless-threading.jd
@@ -108,7 +108,7 @@ you. Our previous example can easily be rewritten with
new DownloadImageTask().execute("http://example.com/image.png");
}
-private class DownloadImageTask extends AsyncTask&lt;string, void,="" bitmap=""&gt; {
+private class DownloadImageTask extends AsyncTask&lt;String, Void, Bitmap&gt; {
protected Bitmap doInBackground(String... urls) {
return loadImageFromNetwork(urls[0]);
}