/SafeClickHelper

solution for button listener to avoid double or multiple clicks

Primary LanguageKotlin

Android Safe Click Listener Helper

Solution for button multiple rapid clicks or double clicks

Getting Started

1. Add library to your project

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
    ...
    maven { url 'https://jitpack.io' }
    }
}

2. Add the dependency

dependencies {
    implementation 'com.github.france-kradev:SafeClickHelper:1.0'
}

Usage

button.setSafeOnClickListener{
    ...
}

Current Version: 1.0