-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
加到布局里初始化时报错 android.view.InflateException: Binary XML file line #44: mContentView is null #15
Comments
你用法错了,参考示例,id必须为can_content_view、can_refresh_header等 |
更改后点击相应页面无法响应了 |
你参考demo吧,先用listview之类的试,没问题了,再换成你要写的布局。 |
哎,用不了,添加依赖后,跟我其他的都起冲突了,提示Fragment null must be a public static class to be properly recreated from in |
这,我也不清是怎么回事,抱歉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
android.view.InflateException: Binary XML file line #44: mContentView is null
我的布局如下
<com.canyinghao.canrefresh.CanRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/canfresh"
android:layout_width="match_parent"
android:layout_height="match_parent">
The text was updated successfully, but these errors were encountered: