FilterSeekBar

class FilterSeekBar : AppCompatSeekBar

通过过滤器可以判断是否支持手势划动

Constructors

FilterSeekBar
Link copied to clipboard
fun FilterSeekBar(context: Context)
FilterSeekBar
Link copied to clipboard
fun FilterSeekBar(context: Context, attrs: AttributeSet? = null)

Functions

filter
Link copied to clipboard
fun filter(block: FilterSeekBar.() -> Boolean)
onTouchEvent
Link copied to clipboard
open override fun onTouchEvent(event: MotionEvent?): Boolean

Properties

stroke
Link copied to clipboard
var stroke: Boolean = true
是否允许划动