Code example for Chronometer

Methods: getBasestop

0
        } 
    } 
 
    public synchronized void stopEffectiveTime() { 
        if (isEffectiveTimeRunning) {
            effectiveTime = SystemClock.elapsedRealtime() - effectiveTimer.getBase();
            effectiveTimer.stop();
            isEffectiveTimeRunning = false;
        } 
    } 
 
    public synchronized void reset() { 
        playTimer.stop();
        playTimer.setBase(SystemClock.elapsedRealtime());
        playTime = 0;
        effectiveTimer.stop();
        effectiveTimer.setBase(SystemClock.elapsedRealtime());
        effectiveTime = 0;
        isEffectiveTimeRunning = false;
    } 
Connect your IDE to all the code out there  Get Codota for Java