提交 addcd3d9 编写于 作者: limuyang2's avatar limuyang2

fix #3052

上级 f2541eab
...@@ -46,4 +46,5 @@ dependencies { ...@@ -46,4 +46,5 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.kyleduo.switchbutton:library:2.0.0' implementation 'com.kyleduo.switchbutton:library:2.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.recyclerview:recyclerview:1.1.0'
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
} }
...@@ -40,7 +40,7 @@ abstract class BaseSectionQuickAdapter<T : SectionEntity, VH : BaseViewHolder> ...@@ -40,7 +40,7 @@ abstract class BaseSectionQuickAdapter<T : SectionEntity, VH : BaseViewHolder>
* @param item T? * @param item T?
* @param payloads MutableList<Any> * @param payloads MutableList<Any>
*/ */
protected fun convertHeader(helper: VH, item: T?, payloads: MutableList<Any>) {} protected open fun convertHeader(helper: VH, item: T?, payloads: MutableList<Any>) {}
/** /**
* 如果 item 不是多布局,可以使用此方法快速设置 item layout * 如果 item 不是多布局,可以使用此方法快速设置 item layout
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册