We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在XrecyclerbView里面setadapter 方法中,有个adapter类型判断,判断属于不属于XRecyclerAdapter, 然而 adapter都是继承自你封装的RecyclerAdapter,所以一定是不属于XRecyclerAdapter,每次setAdapter都生成新的XrecyclerAdapter 也将header 和footer重置为了null
造成适配多个数据源情况下,一旦调用了setAdaper都得重新add header,应该是个BUG。望解决!= =
The text was updated successfully, but these errors were encountered:
在修改成这样后暂时解决,不太确定这种修改能不能行,希望指导下
为了解决重新设置adapter时 header 和footer消失的问题
Sorry, something went wrong.
这种解决方案是可行的,当初我的设计是先setAdapter,然后才能进行header & footer的操作。 @yangkile
No branches or pull requests
在XrecyclerbView里面setadapter 方法中,有个adapter类型判断,判断属于不属于XRecyclerAdapter,
然而 adapter都是继承自你封装的RecyclerAdapter,所以一定是不属于XRecyclerAdapter,每次setAdapter都生成新的XrecyclerAdapter 也将header 和footer重置为了null
造成适配多个数据源情况下,一旦调用了setAdaper都得重新add header,应该是个BUG。望解决!= =
The text was updated successfully, but these errors were encountered: