title: TimePicker Dialog
body: <p>I'm using multiple textviews with onclick listeners that direct me to a TimePicker Dialog.</p>
  
  <p>However I cannot seem to know how to write the code after reading the tutorials,</p>
  
  <pre><code>    textview1.setOnClickListener(new View.OnClickListener() {
          public void onClick(View v) {
              showDialog(TIME_DIALOG_ID);
          }
      });
  
      textview2.setOnClickListener(new View.OnClickListener() {
          public void onClick(View v) {
              showDialog(TIME_DIALOG_ID);
          }
      });
  </code></pre>
  
  <p>To show the dialog:</p>
  
  <pre><code>@Override
  protected Dialog onCreateDialog(int id) {
      switch (id) {
      case TIME_DIALOG_ID:
          return new TimePickerDialog(this,
                  mTimeSetListener, mHour, mMinute, true);
      }
      return null;
  }
  </code></pre>
  
  <p>and finally, </p>
  
  <pre><code>private TimePickerDialog.OnTimeSetListener mTimeSetListener =
          new TimePickerDialog.OnTimeSetListener() {
              @Override
              public void onTimeSet(android.widget.TimePicker view,
                      int hourOfDay, int minute) {
                  mHour = hourOfDay;
                  mMinute = minute;
              }
          };
  </code></pre>
  
  <p>now, to .setText for the textview that CALLED the timepicker after the TimePickerDialog.OnTimeSetListener  callback, how should I write the code?</p>
  
  <p>The answer is very simple but I lack OOP knowledge and still learning.
  Thanks...</p>