summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mehlmauer <FireFart@gmail.com>2010-07-12 20:02:25 +0200
committerChristian Mehlmauer <FireFart@gmail.com>2010-07-12 20:02:25 +0200
commitb91a4c4f2325c879c549efe59b16195abad09920 (patch)
tree38d0652d362943cf5a71db05dbf59c3eddf6777f
parent61af57bfc370ac0bbdf8a262afadf2f60a5bbded (diff)
downloadframeworks_base-b91a4c4f2325c879c549efe59b16195abad09920.zip
frameworks_base-b91a4c4f2325c879c549efe59b16195abad09920.tar.gz
frameworks_base-b91a4c4f2325c879c549efe59b16195abad09920.tar.bz2
Fixed a Documentation Error in the AsyncTask Contstructor
Change-Id: Ic5fb9c613b9e358f1ea81996ee705831a77368db
-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]);
}