OverwatchProgress icon indicating copy to clipboard operation
OverwatchProgress copied to clipboard

Start and Stop

Open johnjake opened this issue 7 years ago • 2 comments

hey awesome Progress bar how do i programmatically start and Stop the progress bar?

johnjake avatar Dec 06 '17 15:12 johnjake

hiveprogress.showContextMenu(); //start don't know how to stop it

DeveloperAdam avatar Nov 23 '18 06:11 DeveloperAdam

    private void startAnimation() {
        resetAnimator();
    }

    private void stopAnimation() {
        actualProgress = 0;
        if (indeterminateAnimator != null) {
            indeterminateAnimator.cancel();
            indeterminateAnimator = null;
        }
    }

public those two method

zjywill avatar Nov 23 '18 08:11 zjywill