Skip to content

Commit 2594066

Browse files
Romain GuyAndroid Code Review
authored andcommitted
Merge "Fixed a Documentation Error in the AsyncTask Contstructor"
2 parents 014568b + b91a4c4 commit 2594066

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/html/resources/articles/painless-threading.jd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ you. Our previous example can easily be rewritten with
108108
new DownloadImageTask().execute("http://example.com/image.png");
109109
}
110110

111-
private class DownloadImageTask extends AsyncTask<string, void,="" bitmap=""> {
111+
private class DownloadImageTask extends AsyncTask<String, Void, Bitmap> {
112112
protected Bitmap doInBackground(String... urls) {
113113
return loadImageFromNetwork(urls[0]);
114114
}

0 commit comments

Comments
 (0)