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

滑动删除和加载更多同时使用的问题 #257

Open
jimdaxu opened this issue Dec 13, 2015 · 1 comment
Open

滑动删除和加载更多同时使用的问题 #257

jimdaxu opened this issue Dec 13, 2015 · 1 comment

Comments

@jimdaxu
Copy link

jimdaxu commented Dec 13, 2015

滑动删除和加载更多同时使用的时候,在adapter里面调用super.onBindViewHolder(holder, position),滑动的时候可以记住item的删除状态,但是加载更多的时候就会报java.lang.NullPointerException: Attempt to invoke virtual method 'void com.marshalchen.ultimaterecyclerview.swipe.SwipeLayout.addSwipeListener(com.marshalchen.ultimaterecyclerview.swipe.SwipeLayout$SwipeListener)' on a null object reference。
adapter里面不调用super.onBindViewHolder(holder, position)的话,加载更多正常,但是滑动却不能记住item的删除状态。

@jjhesk
Copy link
Collaborator

jjhesk commented Feb 3, 2016

this may have association to #273 please follow up. @jimdaxu

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

2 participants