关注
码龄
粉丝数
原力等级 --
被采纳
被点赞
采纳率
luan1010
2019-01-19 11:43
采纳率: 20%
浏览 1.2k
首页
移动开发
Android fragment中引用自定义view报错
android
xml
android-studio
fragment中 使用自定义view报错,求大佬帮忙解答
android.view.InflateException: Binary XML file line #0:
写回答
好问题
提建议
追加酬金
关注问题
微信扫一扫
点击复制链接
分享
邀请回答
1
条回答
默认
最新
相关推荐
更多相似问题
android
来回切换
Fragment
太快
报错
android
java
适配器模式
2021-09-15 17:10
回答 2
已采纳
布局你用的是
view
page么,我记得可以设置缓存
fragment
数量,来回切换不会卡顿。你布局
中
的控件有
自定义
控件吧,你检查下
自定义
控件的生命周期是跟
fragment
绑定的还是跟Activity绑定
Fragment
中
点击事件跳转活动
报错
android
java
2018-02-10 09:16
回答 7
已采纳

自定义
view
Group
中
放入
fragment
view
,但是
fragment
中
的内容不显示
android
2015-10-18 11:42
回答 4
已采纳
问题解决了,
自定义
view
Group
中
onmeasure
中
必须加上child.measure(widthSpec, heightSpec);
Android
中
的
View
pager+
Fragment
+Tablayout
2021-03-25 10:53
小周bb的博客
Android
X
view
pager+
Fragment
和tablayout的使用 前言 我自己学习
View
pager的时候遇到许多坑,现在总结一下; 一、
View
pager +
Fragment
+ Tablayout
View
pager现在的app基本上都离不开,主要的功能就是提供一个页面...
Android
开发
学习笔记——
View
Binding
2020-12-20 19:48
Yang杰的博客
文章目录
Android
开发
学习笔记基本使用开启
View
Binding视图绑定Activity
中
使用
View
Binding
Fragment
中
使用
View
Binding
自定义
View
中
使用
View
Binding
自定义
Dialog
中
使用
View
BindingAdapter
中
使用
View
Binding总结使用...
没有解决我的问题,
去提问