Skip to content

Instantly share code, notes, and snippets.

@pbrewczynski
Created June 16, 2013 06:41
Show Gist options
  • Save pbrewczynski/5791091 to your computer and use it in GitHub Desktop.
Save pbrewczynski/5791091 to your computer and use it in GitHub Desktop.
class myT extends CountDownTimer {
long myWholeTime;
public myT(long millisInFuture, long countDownInterval) {
super(millisInFuture, countDownInterval);
this.myWholeTime = millisInFuture;
}
// TODO Auto-generated constructor stub
@Override
public void onFinish() {
// TODO Auto-generated method stub
}
@Override
public void onTick(long millisUntilFinished) {
// HERE REFER TO myWholeTime <---------------------------------
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment