BaseRecyclerViewAdapterHelper
BaseRecyclerViewAdapterHelper copied to clipboard
如过item 没有子节点 getAdapter().expandAndCollapseOther(position); 方法无效
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.
- 尝试在历史问题搜索答案。
- 尝试阅读文档找到答案。
- 尝试阅读Demo找到答案。
- 尝试自己检查或试验以找到答案。
- 尝试阅读源代码以找到答案。
- 请勿将产品的一些特殊交互需求 和 该库暂不支持作为bug混为一谈,请您仔细甄别
如果还是没有找到答案,提问请带上这几个必要信息
- 当前使用的版本号
- 复现操作描述
- 使用代码
- crash日志
- gif复现效果
- 抽取demo 将你出现的问题代码抽出来成一个可直接运行的项目。(最好fork本库修改) 在本地修改demo,然后把commit push到github上,在issue里贴下demo的地址。
有详细的描述才能使得我们更快速的定位问题并解决问题,感谢配合!
请问解决了吗
把expandAndCollapseOther源码里的 if (expandCount == 0) { return } 删了可行 XD