Function without final argument, which includes Runnable()
<p>How to create function without final argument, which includes Runnable()?</p>

<pre><code> public void scroll(int scroll_to) {
        final HorizontalScrollView scrl = (HorizontalScrollView)findViewById(R.id.horizontalScrollView1);
        scrl.post(new Runnable() { 
            public void run() { 
                 scrl.scrollTo(0, scroll_to);
            } 
        });
    }
</code></pre>

<p>But this cannot refer to non-final <code>scroll_to</code> variable. How to do universal function to scroll? Without <code>Runnable</code> it does not always work.</p>
