I hope you can light this light for me.
I am trying to create the following AsyncTask in Java for an Android application. When I enter the code below, Android Studio allocates both void parameters with an error:
"Invalid type: Void."
After a few google searches, I still can't figure out what the problem is here (and to be honest, I'm completely confused by all of this!)
private class BackgroundTask extends AsyncTask<URL, void, void> { protected void doInBackground(URL... inputURL) { URL searchURL = inputURL[0];
Appreciate any information you can send to me.
source share