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

关于BaseSectionQuickAdapter的convertHead接口回调建议 #933

Closed
yezishu opened this issue Mar 28, 2017 · 4 comments
Closed

关于BaseSectionQuickAdapter的convertHead接口回调建议 #933

yezishu opened this issue Mar 28, 2017 · 4 comments

Comments

@yezishu
Copy link

yezishu commented Mar 28, 2017

我在导入我们这个库进行多一层封装的时候发现,这个类疑似还残留以前旧版本,写死入参数定义。

BaseSectionQuickAdapter的第57行代码 参数 BaseViewHolder helper:
protected abstract void convertHead(BaseViewHolder helper, T item);

后面我封装的时候只能进行代码拷贝封装了,没办法直接继承。建议修改如下
protected abstract void convertHead(K helper, T item);

@CymChad
Copy link
Owner

CymChad commented Mar 29, 2017

恩,收到,我看看。

@yezishu
Copy link
Author

yezishu commented Mar 29, 2017

如果是我理解错误,可否指点一下,非常感谢。

@CymChad
Copy link
Owner

CymChad commented Mar 29, 2017

确实是残留固定参数定义,我马上修改并打包上传

CymChad pushed a commit that referenced this issue Mar 29, 2017
@CymChad
Copy link
Owner

CymChad commented Mar 29, 2017

compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.3'

@CymChad CymChad closed this as completed Mar 29, 2017
tysheng pushed a commit to tysheng/BaseRecyclerViewAdapterHelper that referenced this issue Apr 6, 2017
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