I used the following seek bar for displacing the progress of my audio.
Kotlin lambda solution:
seekbar.setOnTouchListener { _, _ -> true }