seekbar change listener kotlin code example
Example: seekbar kotlin
seekBar.setOnSeekBarChangeListener(object : SeekBar.OnSeekBarChangeListener {
override fun onProgressChanged(p0: SeekBar?, currentValue: Int, p2: Boolean) {
Log.i("TAG" , currentValue)
}
override fun onStartTrackingTouch(p0: SeekBar?) {}
override fun onStopTrackingTouch(p0: SeekBar?) {}
})