title: How can I repeat mHandler.postDelayed()?
body: <p>Is there a better way to do this?  This is for a Kegel app I'm making, nobody wants the drips when they get older, right?!  I've tried using this in a for loop, but it only cycles once. :(  Now I'm just typing more because the site won't let me post because it says it looks like my post is mostly code.</p>
  
  <pre><code>public final void onClick(View view) {
      switch (view.getId()) {
          case R.id.tvBeginner:
              tvBeginner.setText("Beginner exercise in progress...");
  
              Runnable clenchRunnable = new Runnable() {
                  @Override
                  public void run() {
                      try {
                          tvExpert.setText("");
                          tvIntermediate.setText("Clench!!!");
                          tvIntermediate.setTextSize(60);
                          vibrate.vibrate(250);
                          clenchDone = true;
                      } catch (Exception e) {
                          e.printStackTrace();
                      }
                  }
              };
  
              Runnable relaxRunnable = new Runnable() {
                  @Override
                  public void run() {
                      try {
                          tvIntermediate.setText("");
                          tvExpert.setText("Relax...");
                          tvExpert.setTextSize(40);
                          tvExpert.setTextColor(Color.GREEN);
                          vibrate.vibrate(250);
                          clenchDone = false;
                      } catch (Exception e) {
                          e.printStackTrace();
                      }
                  }
              };
  
              clenchHandler.postDelayed(clenchRunnable, 1000);
              relaxHandler.postDelayed(relaxRunnable, 2000);
              clenchHandler.postDelayed(clenchRunnable, 3000);
              relaxHandler.postDelayed(relaxRunnable, 4000);
              clenchHandler.postDelayed(clenchRunnable, 5000);
              relaxHandler.postDelayed(relaxRunnable, 6000);
              clenchHandler.postDelayed(clenchRunnable, 7000);
              relaxHandler.postDelayed(relaxRunnable, 8000);
              clenchHandler.postDelayed(clenchRunnable, 9000);
              relaxHandler.postDelayed(relaxRunnable, 10000);
              clenchHandler.postDelayed(clenchRunnable, 11000);
              relaxHandler.postDelayed(relaxRunnable, 12000);
              clenchHandler.postDelayed(clenchRunnable, 13000);
              relaxHandler.postDelayed(relaxRunnable, 14000);
              clenchHandler.postDelayed(clenchRunnable, 15000);
              relaxHandler.postDelayed(relaxRunnable, 16000);
              clenchHandler.postDelayed(clenchRunnable, 17000);
              relaxHandler.postDelayed(relaxRunnable, 18000);
              clenchHandler.postDelayed(clenchRunnable, 19000);
              relaxHandler.postDelayed(relaxRunnable, 20000);
  
  
              break;
  </code></pre>