当片段启动时,这会崩溃。它可能在单选按钮代码中吗?
RadioGroup q1;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
q1 = (RadioGroup) getView().findViewById(R.id.radioGQ1);
q1.setOnCheckedChangeListener(this);
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_exercise, container, false);
}
rest -> http://pastebin.com/cRptSmD4