ThrottledOnClickListener
class ThrottledOnClickListener(listener: (view: View?) -> Unit, throttleInMillis: Long) : View.OnClickListener
Content copied to clipboard
An implementation of OnClickListener that prevent multiple rapid clicks.
Constructors
Link copied to clipboard
fun ThrottledOnClickListener(listener: (view: View?) -> Unit, throttleInMillis: Long)
Content copied to clipboard