How to use an handler(created before the looper) in a looper inside thread
<p>hi mate in all tutorial or example the handler used in a looper is created inside the looper example:</p>

<pre><code> class LooperThread extends Thread {
      public Handler mHandler;

      public void run() {
          Looper.prepare();

          mHandler = new Handler() {
              public void handleMessage(Message msg) {
                  // process incoming messages here
              }
          };

          Looper.loop();
      }
  }
</code></pre>

<p>but if a create the handler before the thread, at example</p>

<pre><code>public Handler mHandler=new Handler() {
              public void handleMessage(Message msg) {
                  // process incoming messages here
              }
          };
</code></pre>

<p>is possible associate him at the thread in run() method in a looper or i must create him only in run method inside the looper ?</p>
