Skip to content
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

4.3项目上加载更多设置mSwipeRefreshHelper.setLoadMoreEnable(false)会闪退 #67

Open
LOWANGA opened this issue Mar 12, 2017 · 0 comments

Comments

@LOWANGA
Copy link

LOWANGA commented Mar 12, 2017

AndroidRuntime: FATAL EXCEPTION: main
java.lang.ClassCastException: com.chanven.cptr.demo.SwipeListViewActivity$ListViewAdapter cannot be cast to android.widget.HeaderViewListAdapter
at android.widget.ListView.removeFooterView(ListView.java:390)
at com.chanven.lib.cptr.loadmore.ListViewHandler.removeFooter(ListViewHandler.java:58)
at com.chanven.lib.cptr.loadmore.SwipeRefreshHelper.setLoadMoreEnable(SwipeRefreshHelper.java:130)
at com.chanven.cptr.demo.SwipeListViewActivity$3$1.run(SwipeListViewActivity.java:95)
at android.os.Handler.handleCallback(Handler.java:730)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:5103)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:525)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
at dalvik.system.NativeStart.main(Native Method)

麻烦大神看看 谢谢啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant