Leave it empty instead of passing null as parameter
.execute();
AsyncTask<Void,Void,Void>(){ }.execute(null);
出现错误提示:
The method execute(Void[]) is ambiguous for the type new AsyncTask<Void,Void,Void>(){}
修改方法:
Leave it empty instead of passing null as parameter
.execute();