A smart way to implement the same functions
<p>I have a lot of views and have same function <code>postInvalidate()</code>.</p>

<pre><code>regenerate.setOnClickListener(new View.OnClickListener() {  
    @Override
        public void onClick(View v) {
            // TODO Auto-generated method stub
            img01.postInvalidate();
            img02.postInvalidate();
            img03.postInvalidate();
            img04.postInvalidate();
        }
});
</code></pre>

<p>Is there a better way to do this? This looks stupid.</p>
