Difference between making a button implementation in class or a final inside the onCreate()?
<p>So usually in guides when making a holder for a View let's say Button, I usually see it on the onCreate method like this:</p>

<pre><code>public class className extends Activiy{
public void onCreate(){
    final Button button = (Button) findViewById(r.something.something);
    }
}
</code></pre>

<p>Well I was wondering if there's any difference and if ever there is, which is a better in approach from that one to this one:</p>

<pre><code>public class className extends Activiy{
 Button button;
 public void onCreate(){
    button= (Button) findViewById();
    }
}
</code></pre>
