Check out example codes for "seekbar kotlin". It will help you in understanding the concepts better.

Code Example 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?) {}
        })

Learn ReactJs, React Native from akashmittal.com