am 7b1a2079: merge from open-source master
Merge commit '7b1a2079227cd93d1d92088fed0df2351705cbe4' * commit '7b1a2079227cd93d1d92088fed0df2351705cbe4': Fixed a Documentation Error in the AsyncTask Contstructor
This commit is contained in:
committed by
Android Git Automerger
commit
2a6560bcb8
@@ -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<string, void,="" bitmap=""> {
|
||||
private class DownloadImageTask extends AsyncTask<String, Void, Bitmap> {
|
||||
protected Bitmap doInBackground(String... urls) {
|
||||
return loadImageFromNetwork(urls[0]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user