Fixup! Fix thumb retry
This commit is contained in:
1 parent
8e8dc76c3d
commit
c8a10a8b75
1 file changed
+3
-1
@@ -40,7 +40,9 @@ open class LoadImageView @JvmOverloads constructor(
|
||||
private var mClipWidth = Integer.MIN_VALUE
|
||||
private var mClipHeight = Integer.MIN_VALUE
|
||||
private var mUrl: String? = null
|
||||
private val mRetryType =
|
||||
|
||||
@RetryType
|
||||
private val mRetryType: Int =
|
||||
context.obtainStyledAttributes(attrs, R.styleable.LoadImageView, defStyleAttr, 0).run {
|
||||
getInt(R.styleable.LoadImageView_retryType, 0).also { recycle() }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user