Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b91a4c4f authored by Christian Mehlmauer's avatar Christian Mehlmauer
Browse files

Fixed a Documentation Error in the AsyncTask Contstructor

Change-Id: Ic5fb9c613b9e358f1ea81996ee705831a77368db
parent 61af57bf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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]);
     }