1
score
2.3K
views
yes
status
CC BY-SA 3.0
Pass Integer[] to AsyncTask - Android
Change the parameters of your AsyncTask to <Integer[], Void, String[]>
Technical answers from my Stack Overflow history, with source links and licenses.
Showing 2 of 2 answers tagged android-asynctask
Exported May 9, 2026
Change the parameters of your AsyncTask to <Integer[], Void, String[]>
You should not be loading a WebView in a background thread; it needs to be loaded on the UI thread. I would add a listener to your WebView and when the URL is finished loading you can add your button.