title: Executing operations on UI thread after delay
body: <p>I want to implement some operations on UI thread after a delay of a few seconds and have tried this approach - </p>
  
  <pre><code>final Handler handler1 = new Handler();
  final Runnable r = new Runnable() {
  public void run() {
  // operations to do 
   }
  };
  runOnUiThread(new Runnable() {
   @Override
   public void run() {
   handler1.postDelayed(r, 1000);
   }
   });
  </code></pre>
  
  <p>Here I have two runnable objects, so my question is that are the operations I'm performing here being executed in UI thread or another thread because I don't directly execute the operations in Runnable object of the UI thread. Also if this is not the right approach to execute operations in UI thread after a delay, please suggest any modifications required.</p>