Open yyy000112 opened 7 years ago
你用法错了,参考示例,id必须为can_content_view、can_refresh_header等
更改后点击相应页面无法响应了 Error reporting crash android.os.TransactionTooLargeException: data parcel size 11802176 bytes
你参考demo吧,先用listview之类的试,没问题了,再换成你要写的布局。
哎,用不了,添加依赖后,跟我其他的都起冲突了,提示Fragment null must be a public static class to be properly recreated from in
这,我也不清是怎么回事,抱歉
android.view.InflateException: Binary XML file line #44: mContentView is null
我的布局如下 <?xml version="1.0" encoding="utf-8"?> <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"> <LinearLayout android:orientation="vertical" android:layout_width="match_parent" android:layout_height="match_parent">
</com.canyinghao.canrefresh.CanRefreshLayout>