android - onCreateView的android studio中的logcat错误
问题描述
运行此代码时,android studio 的 logcat 中显示错误
public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container,
@Nullable Bundle savedInstanceState) {
View v= inflater.inflate(R.layout.fragmentlayout,container,false);
return v;
有人可以帮我解决它。错误显示在
View v= inflater.inflate(R.layout.fragmentlayout,container,false);
解决方案
推荐阅读
- reactjs - 如何在 Leaflet 中创建具有绘制多边形功能的按钮?
- jquery - Jest - 在特定元素上测试 jquery fadeIn/fadeOut
- php - 如何从多个 db 表中选择数据并使用 php 和 html 按钮元素插入到一个表中
- java - 为多租户设置 Hazelcast 缓存
- javascript - Summernote 0.8.12 图片上传和删除
- python - Google Colab 文本环绕辅助
- flutter - 我该如何解决:未处理的异常:“SocketException”类型不是“String”类型的子类型?
- flutter - Flask_SocketIO 不发出自定义事件
- node.js - 从 Lambda 函数访问 AWS Elasticsearch
- python - Python“SSLError(”无法连接到 HTTPS URL,因为 SSL 模块不可用。“)':/simple/docutils/”