title: how can I call function every 10 sec?
body: <p>I want make an app that call a function for example every 10 sec. </p>
  
  <p>I wrote my code like this:  </p>
  
  <pre><code>Handler ha=new Handler();
  ha.postDelayed(new Runnable() {
      @Override
      public void run() {
          //call function
  
      }
  }, 10000); 
  </code></pre>
  
  <p>But my function call just one time in 10 sec after compile this code.  </p>
  
  <p>How can I fix it?</p>