Code example for ThreadPoolExecutor

Methods: execute

        mStatus = Status.RUNNING;
        mWorker.mParams = params;
        return this;
     * This method can be invoked from {@link #doInBackground} to 
     * publish updates on the UI thread while the background computation is 
     * still running. Each call to this method will trigger the execution of 
     * {@link #onProgressUpdate} on the UI thread. 
     * @param values The progress values to update the UI with. 
     * @see #onProgressUpdate 
     * @see #doInBackground 
Stop searching for code, let great code find you!  Add Codota to your java IDE