error in fragment class (android studio)

后端 未结 1 1982
伪装坚强ぢ
伪装坚强ぢ 2021-01-26 09:14

in the logcat in android studio error is been shown

 @Override public View onCreateView( LayoutInflater inflater, @Nullable ViewGroup container,
                        


        
1条回答
  •  遥遥无期
    2021-01-26 09:39

    public View onCreateView( LayoutInflater inflater, @Nullable ViewGroup container,
                        @Nullable Bundle savedInstanceState) {View v = inflater.inflate(R.layout.fragmentlayout, container, false);
    return v;} 
    

    Try this it will solve your error.

    0 讨论(0)
提交回复
热议问题