Skip to content

Commit

Permalink
Update Banner
Browse files Browse the repository at this point in the history
  • Loading branch information
uncn committed Oct 31, 2019
1 parent fbb89c1 commit 99c16d0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Library/src/main/java/com/sunzn/banner/library/Banner.kt
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ class Banner<T> @JvmOverloads constructor(context: Context, attrs: AttributeSet,
private var mIndicatorSize: Int = 0
private var mIndicatorSpace: Int = 0

companion object {
private const val DEFAULT_GAIN_COLOR = -0x1
private const val DEFAULT_MISS_COLOR = 0x50ffffff
}

private val mBannerTask = object : Runnable {

override fun run() {
Expand Down Expand Up @@ -427,9 +432,4 @@ class Banner<T> @JvmOverloads constructor(context: Context, attrs: AttributeSet,
}
}

companion object {
private const val DEFAULT_GAIN_COLOR = -0x1
private const val DEFAULT_MISS_COLOR = 0x50ffffff
}

}

0 comments on commit 99c16d0

Please sign in to comment.