フラグメントが起動するとクラッシュします。ラジオボタンのコードに入れることができますか?アンドロイド - クラッシュを引き起こすフラグメント内のラジオボタン
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
:このコードで
:
はこれを交換してください。 :) – W4R10CK