dmytrodanylyk/android-process-button

how to use Progress with AsynkTask

vishnuchd opened this issue · 1 comments

Wonderful Library.
Can anyone please help me. i want to show (Mode.progress) with asynktask

new AsyncTask<Void, Integer, Void>() {
    @Override
    protected void onProgressUpdate(Integer... values) {
        int progress = values[0];
        button.setProgress(progress); // where button is one of process buttons
    }
};