title: How would i pass a timer from one fragment to another?
body: <p>Suppose i have a timer which uses a <code>TextView</code> in Fragment A. And i want to use this timer in Fragment B. How would i do it? This is the code which is being used in Fragment A to set the timer...</p>
  
  <pre><code>private Runnable mUpdateTimeTask = new Runnable() {
      public void run() {
          long totalDuration = mp.getDuration();
          long currentDuration = mp.getCurrentPosition();
  
          // Displaying total duration time
          songTotalDurationLabel.setText(""+utils.milliSecondsToTimer(totalDuration));
          // Displaying current time
          songCurrentDurationLabel.setText(""+utils.milliSecondsToTimer(currentDuration));
  
          // Running this thread after 100 milliseconds
          mHandler.postDelayed(this, 100);
      }
  }; 
  </code></pre>
  
  <p>Now i want to use the timer that's associated with the <code>songCurrentDurationLabel</code> TextView, in Fragment B as well. </p>
  
  <p>How would i go about solving this?</p>
  
  <p>Thanks!</p>