Create stub implementation for OnSeekBarChangeListener

This commit is contained in:
TacoTheDank 2022-03-17 21:49:04 -04:00
parent 102204e293
commit 86f335b01f
3 changed files with 25 additions and 47 deletions

View file

@ -0,0 +1,12 @@
package org.schabi.newpipe.util
import android.widget.SeekBar
/**
* Why the hell didn't they make a stub implementation for this?
*/
abstract class SimpleOnSeekBarChangeListener : SeekBar.OnSeekBarChangeListener {
override fun onProgressChanged(seekBar: SeekBar, progress: Int, fromUser: Boolean) {}
override fun onStartTrackingTouch(seekBar: SeekBar) {}
override fun onStopTrackingTouch(seekBar: SeekBar) {}
}