按钮的关联问题,关联的区别是什么?

有一个Button要关联
private Button button1;

button1.findViewById();
button1 =(Button) findViewById();

这两个有什么区别?

button1.findViewById();是指在button1这个view中通过id寻找到某个view对象。
button1 =(Button) findViewById();其实是省略一个东西了,button1 =(Button) this.findViewById();,和上面的解释差不多,但是这两个父view是不同的,一个是button1,一个是this

一个是父类的一个方法,一个是Button的方法