Created
May 23, 2017 15:53
-
-
Save slxny/e7ad7f54c98da2b31c540ad5a10972d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
playButton.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
//Enter intended consequences of clicking on playButton ImageView here | |
Log.v("Test: ", "Positive"); | |
CountDownTimer countDownTimer = new CountDownTimer(100000, 100) { | |
@Override | |
public void onTick(long millisUntilFinished) { | |
TextView textView = (TextView) findViewById(R.id.main_timer_text); | |
textView.setText("Current Time: " + (millisUntilFinished / 1000) + " Seconds"); | |
} | |
@Override | |
public void onFinish() { | |
} | |
} | |
.start(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment