Cursor goes to start(left) of the EditText after a character is entered or deleted
everything works as it should except the problem is that the cursor
just goes to the start after a character is deleted or inputted, i
want to it to stay at the same position
This is the code:
binding.includeFirstSeekbar.seekBar.setOnSeekBarChangeListener(object : OnSeekBarChangeListener {
override fun onProgressChanged(seekBar: SeekBar, progress: Int, b: Boolean) {
val number = java.lang.Double.valueOf(progress.toString())/100
val dec =...