📜  seekbar kotlin 代码示例

📅  最后修改于: 2022-03-11 14:53:34.879000             🧑  作者: Mango

代码示例1
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?) {}
        })