-2
FlagCertのonCreateView()メソッドのコンテナ引数がどこから来たのだろうか、それはこのフラグメントやその他のものを持つアクティビティのViewGroupですか?私は私がフラグメントのXMLは、このコードは、あなたの時間onCreateViewのAndroidフラグメントコンテナ引数
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, Bundle savedInstanceState) {
return inflater.inflate(R.layout.fragment_list,container,true);
}