stationRadioGroup = (MyRadioGroup) view.findViewById(R.id.rg_fssxt);
stationRadioGroup.setOnCheckedChangeListener(this);
@Override
public void onCheckedChanged(MyRadioGroup group, int checkedId) {
station=((RadioButton)view.findViewById(checkedId)).getText().toString();
obtid = ConvertUtil.getObtid(station);
initView();
}
这里的initView()方法被执行三次,我想让它执行一次,求解决