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
MaterialHeader 下拉刷新时,有阴影,请查看截图 自定义的Header代码 class MyMaterialHeader : MaterialHeader { constructor(context: Context?) : super(context) constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)
override fun setProgressBackgroundColorSchemeResource(colorRes: Int): MaterialHeader { return super.setProgressBackgroundColorSchemeResource(colorRes) }
override fun setColorSchemeResources(vararg colorIds: Int): MaterialHeader { return super.setColorSchemeResources(*colorIds) }
override fun setSize(size: Int): MyMaterialHeader { mCircleDiameter = ResUtils.getDimensionPixelSize(R.dimen.common_sw_40dp) mCircleView.setImageDrawable(null) mProgress.updateSizes(size) mCircleView.setImageDrawable(mProgress) return this }}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MaterialHeader 下拉刷新时,有阴影,请查看截图
自定义的Header代码
class MyMaterialHeader : MaterialHeader {
constructor(context: Context?) : super(context)
constructor(context: Context?, attrs: AttributeSet?) : super(context, attrs)
override fun setProgressBackgroundColorSchemeResource(colorRes: Int): MaterialHeader {
return super.setProgressBackgroundColorSchemeResource(colorRes)
}
override fun setColorSchemeResources(vararg colorIds: Int): MaterialHeader {
return super.setColorSchemeResources(*colorIds)
}
override fun setSize(size: Int): MyMaterialHeader {
mCircleDiameter = ResUtils.getDimensionPixelSize(R.dimen.common_sw_40dp)
mCircleView.setImageDrawable(null)
mProgress.updateSizes(size)
mCircleView.setImageDrawable(mProgress)
return this
}}
The text was updated successfully, but these errors were encountered: