AsyncTask<String, Void, Bitmap>
告诉AsyncTask使用3种不同的类型进行描述,当您使用AsyncTask时,将String作为第一个参数,将Void作为第二个参数,将Bitmap作为第三个参数。
从Java5开始,这在Java中称为泛型。请阅读本教程以了解有关泛型的更多信息。这是有关android
AsyncTasktask如何使用泛型的javadoc。
更新: 从AsyncTask javadoc
1) Params, the type of the parameters sent to the task upon execution.2) Progress, the type of the progress units published during the background computation.3) Result, the type of the result of the background computation.



