I have a need for a \"Runnable that accepts a parameter\" although I know that such runnable doesn\'t really exist.
This may point to fundamental flaw in the design
theView.post(new Runnable() { String str; @Override public void run() { par.Log(str); } public Runnable init(String pstr) { this.str=pstr; return(this); } }.init(str));
Create init function that returns object itself and initialize parameters with it.