android onCreate 加载问题

@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
super.onResume();
et = (EditText)findViewById(R.id.et);
etR = (EditText)findViewById(R.id.etR);
tv1= (TextView)findViewById(R.id.swclOnClickButton);
tv2= (TextView)findViewById(R.id.tv2);
btSin=(Button)findViewById(R.id.ButtonSin);
btCos=(Button)findViewById(R.id.ButtonCos);
btTan=(Button)findViewById(R.id.ButtonTan);
btLn=(Button)findViewById(R.id.ButtonLn);
btLog=(Button)findViewById(R.id.ButtonLog);
btSqr=(Button)findViewById(R.id.ButtonSqr);
btRot=(Button)findViewById(R.id.ButtonRot);
btMun=(Button)findViewById(R.id.ButtonMun);
btFa=(Button)findViewById(R.id.FaButton);
et.addTextChangedListener(textWatcher);
}

在初始化的时候要加载很多东西,放在这样放在onCreate里面对吗?应该怎么改?

 onCreate里面为什么要super.onResume();这句不要。
 其他没什么问题
 另外textWatcher这个变量没定义

无视那条onResume

不到处用的最好改成局部的。

super.onResume(); 去掉 下面那些控件绑定的可以用butterknife 或者其他的 一键生成 。

另外 代码规范问题 最好吧 findviewbyid 那些语句放到一个方法里