From 04b51d28aa54988a27b8b1431870302525bafb69 Mon Sep 17 00:00:00 2001 From: CormacKrum Date: Fri, 31 Jul 2020 02:02:09 +0530 Subject: [PATCH] Double Click Listener --- .../java/com/example/doubleclicklistner/DoubleClickListener.kt | 1 + .../main/java/com/example/doubleclicklistener/MainActivity.kt | 2 ++ 2 files changed, 3 insertions(+) diff --git a/DoubleClickListner/src/main/java/com/example/doubleclicklistner/DoubleClickListener.kt b/DoubleClickListner/src/main/java/com/example/doubleclicklistner/DoubleClickListener.kt index d160bb2..e05bf8c 100644 --- a/DoubleClickListner/src/main/java/com/example/doubleclicklistner/DoubleClickListener.kt +++ b/DoubleClickListner/src/main/java/com/example/doubleclicklistner/DoubleClickListener.kt @@ -31,4 +31,5 @@ class DoubleClickListener(private val callback: Callback,private val doubleClick } + } \ No newline at end of file diff --git a/app/src/main/java/com/example/doubleclicklistener/MainActivity.kt b/app/src/main/java/com/example/doubleclicklistener/MainActivity.kt index 01ea674..cc799e7 100644 --- a/app/src/main/java/com/example/doubleclicklistener/MainActivity.kt +++ b/app/src/main/java/com/example/doubleclicklistener/MainActivity.kt @@ -1,11 +1,13 @@ package com.example.doubleclicklistener import android.os.Bundle +import android.widget.Button import androidx.appcompat.app.AppCompatActivity class MainActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) + } } \ No newline at end of file