Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new CountDownTimer(1000, 100) {
- @Override
- public void onTick(long l) {
- switchOn();
- switchoff();
- int x = 4;
- int y = 10;
- Toast toast = Toast.makeText(getApplicationContext(),""+l+"",Toast.LENGTH_SHORT);
- toast.show();
- }
- @Override
- public void onFinish() {
- }
- }.start();
Add Comment
Please, Sign In to add comment