All Projects → pedromassango → doubleClick

pedromassango / doubleClick

Licence: other
A lib To handle double click on android View's components.

Programming Languages

java
68154 projects - #9 most used programming language
kotlin
9241 projects

Projects that are alternatives of or similar to doubleClick

Androidkex
Extensions for Kotlin. Use the power of Kotlin to make your code smaller and beautiful.
Stars: ✭ 35 (-25.53%)
Mutual labels:  android-development, androidstudio
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (+142.55%)
Mutual labels:  android-development, androidstudio
Datingapp
Dating UI kit is used for online meet up with girls and boys . The screen contains more than 30 icons and most of all required elements required to design an application like this. The XML and JAVA files contains comments at each and every point for easy understanding. Everything was made with a detail oriented style and followed by today's web trends. Clean coded & Layers are well-organized, carefully named, and grouped.
Stars: ✭ 97 (+106.38%)
Mutual labels:  android-development, androidstudio
Zoomrecylerlayout
🎢 Zoom Recycler Layout Manager For Android Kotlin
Stars: ✭ 618 (+1214.89%)
Mutual labels:  android-development, androidstudio
K4kotlin
A sweet, small set of Kotlin functions to reduce your android boilerplate code
Stars: ✭ 210 (+346.81%)
Mutual labels:  android-development, androidstudio
Motiontoast
🌈 A Beautiful Motion Toast Library for Kotlin Android
Stars: ✭ 767 (+1531.91%)
Mutual labels:  android-development, androidstudio
Cameraxdemo
A sample camera app with CameraX API from Android Jetpack
Stars: ✭ 112 (+138.3%)
Mutual labels:  android-development, androidstudio
AndroidBatteryStats
Displays all battery stats of an Android device using broadcast receiver.
Stars: ✭ 20 (-57.45%)
Mutual labels:  android-development, androidstudio
Awesomedialog
A Beautiful Dialog Library for Kotlin Android
Stars: ✭ 163 (+246.81%)
Mutual labels:  android-development, androidstudio
Customrefreshview
一个支持网络错误重试,无数据页(可自定义),无网络界面(可自定义)的上拉加载更多,下拉刷新控件
Stars: ✭ 160 (+240.43%)
Mutual labels:  android-development, androidstudio
The Pit Of The Android Studio
👍 👍 👏 🌟 ⭐️ ⭐️ Everything about the Android Studio and Intellij IDEAfor example:Install,common problems and solutions,each libraries for android and androidx library,code and peoject templates,etc.全面总结Android Studio以及Intellij IDEA的填坑指南,详解AS版本号、Gradle版本、BuildTools三者的对照关系,AS模板配置,gradle插件,Android自带注解库详解,support详解等干货。
Stars: ✭ 296 (+529.79%)
Mutual labels:  android-development, androidstudio
MTextField
A new Material Design text field that comes in a box, based on [Google Material Design guidelines]
Stars: ✭ 32 (-31.91%)
Mutual labels:  android-development, androidlibrary
RecyclerELE
Android Library for easy addition of Empty, Loading and Error views in a RecyclerView
Stars: ✭ 27 (-42.55%)
Mutual labels:  android-development, androidstudio
Android Customtoast
Easy to use Custom Toast Library for Android
Stars: ✭ 24 (-48.94%)
Mutual labels:  android-development, androidstudio
AOSP-Kayboard-7.1.2
Full functional AOSP Keyboard with glide typing
Stars: ✭ 33 (-29.79%)
Mutual labels:  android-development, androidstudio
Mediapicker
Easy customizable picker for all your needs in Android application
Stars: ✭ 105 (+123.4%)
Mutual labels:  android-development, androidstudio
SuperToolbar
Android native Toolbar on steroids 💪
Stars: ✭ 52 (+10.64%)
Mutual labels:  android-development, androidlibrary
android-developer-nanodegree-by-google
Projects for Udacity Android Developer Nanodegree - Sandwich Club, Popular Movies, Baking App (WIP), Build It Bigger, Make Your App Material, and Go Ubiquitous
Stars: ✭ 14 (-70.21%)
Mutual labels:  android-development, androidstudio
Ibackdrop
A library to simply use Backdrop in your project (make it easy). Read more ->
Stars: ✭ 137 (+191.49%)
Mutual labels:  android-development, androidstudio
Modern Android Development
Modern Android Development tools & key points
Stars: ✭ 219 (+365.96%)
Mutual labels:  android-development, androidstudio

DoubleClick on Android Views.

A android library lo handle double click on android Views components. You just need to call it on your view onCLickListener.

alt tag

Requirements

  • Android API level 14 or greater
  • Your favorite IDE

Version

The current version is: 3.0

Setting up

Gradle:

Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:

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

Step 2. Add the dependency

implementation 'com.github.pedromassango:doubleClick:CURRENT-VERSION'

Maven:

Step 1. register jitpack.io

<repositories>
	<repository>
	    <id>jitpack.io</id>
	    <url>https://jitpack.io</url>
	</repository>
</repositories>

Step 2. Add the dependency

<dependency>
    <groupId>com.github.pedromassango</groupId>
    <artifactId>doubleClick</artifactId>
    <version>CURRENT-VERSION</version>
</dependency>

Basic usage

The class DoubleClick extends from View.OnClickListener so, just call the DoubleClick class on you onClickListener of the view that you wish to listen, and pass a instance of DoubleClickListener class to listen the events.

See the sample code below:

Button btn = new Button(this);
btn.setOnClickListener( new DoubleClick(new DoubleClickListener() {
            @Override
            public void onSingleClick(View view) {

                // Single tap here.
            }

            @Override
            public void onDoubleClick(View view) {

                // Double tap here.
            }
        });
        //  use this to define your own interval
        //  }, 100));
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].