title: Runnable with a parameter?
body: <p>I have a need for a "Runnable that accepts a parameter" although I know that such runnable doesn't really exist.</p>
  
  <p>This may point to fundamental flaw in the design of my app and/or a mental block in my tired brain, so I am hoping to find here some advice on how to accomplish something like the following, <em>without</em> violating fundamental OO principles:</p>
  
  <pre><code>  private Runnable mOneShotTask = new Runnable(String str) {
      public void run(String str) {
         someFunc(str);
      }
    };  
  </code></pre>
  
  <p>Any idea how to accomplish something like the above?</p>