title: Show a Toast message from inside uiThread Runnable?
body: <p>I want to show a toast message from within a thread that is running on the UiThread however it appears the Runnable is not referenced correctly in my call. Please see my very basic implementation below:</p>
  
  <pre><code>this.runOnUiThread(new Runnable() {
       public void run() {
                  Toast.makeText(this, "Authenticated.", Toast.LENGTH_SHORT).show();
              }
          }
  );
  </code></pre>
  
  <p>I believe that <strong>this</strong> is not the actual runnable that the <strong>makeText</strong> function requires. How would you get the actual Runnable in this case?</p>