import android.os.CountDownTimer;

/**
 * Created by James on 10/30/2014.
 * Class to track time left,
 * restart time
 */
public class Timer {

    private static long RESTART_TIME = 60000;
    private static long TICKS = 1000;
    private static long TIME_LEFT_IN_SONG;
    private static boolean PLAY_NEXT = true;

    public static void setNewTimer() {

    }

    private class CountDown extends CountDownTimer
    {

        public CountDown(long millisUntilFinished, long ticks)
        {
            super(millisUntilFinished, ticks);
        }
        public void onTick(long millisUntilFinished){}

        public void onFinish(){
            if (PLAY_NEXT) {
                startTimer();
            }
            else {
                // will need to display some message here and null out the MediaPlayer
            }
        }
    }

    private void startTimer(){
        new CountDown(RESTART_TIME, TICKS);

    }

}

@@ -162,28 +162,29 @@
 ic long 
-RESTART_TIME
+SONG_INTERVAL
  = 60000
@@ -321,41 +321,205 @@
    p
-ublic static void setNewTimer() %7B
+rivate static int NUMBER_OF_SONGS;%0A%0A    public static void setNewTimer(long songLength, int numSongs) %7B%0A        SONG_INTERVAL = songLength;%0A        NUMBER_OF_SONGS = numSongs;%0A        startTimer();
 %0A%0A  
@@ -535,16 +535,23 @@
 private 
+static 
 class Co
@@ -1028,16 +1028,23 @@
 private 
+static 
 void sta
@@ -1080,20 +1080,21 @@
 own(
-RESTART_TIME
+SONG_INTERVAL
 , TI

add constructor to timer class to take num songs and length of each song