You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `@Debounced` annotation indicates that the method has been debounced. The `shouldDoClick(View)` method will determine which are the jitters and which are the correct clicks.
32
+
33
+
I also wrote a **[BLOG](https://www.jianshu.com/p/28751130c038)** to share my ideas to solve the click jitter.
34
+
35
+
*Note: This repository is just a gradle plugin, responsible for bytecode weaving work. Android runtime library please move [here](https://github.com/SmartDengg/asm-clickdebounce-runtime).*
13
36
14
-
*Note: This repository is just a gradle plugin, responsible for bytecode weaving work, Android runtime library please move [here](https://github.com/SmartDengg/asm-clickdebounce-runtime).*
15
37
16
38
## Requirements
17
39
@@ -50,7 +72,7 @@ buildscript {
50
72
51
73
**Step 2**. Apply it in your module:
52
74
53
-
*It supports 'com.android.application', 'com.android.library' and 'com.android.feature'*.
75
+
Supports 'com.android.application', 'com.android.library' and 'com.android.feature'.
**Step 3 (Optional)**. By adding the following code to your `build.gradle` to enable printe the beautiful log or add an exclusive list to indicate which methods do not need to be debounced. By default, the log is not printed, and process all the methods in the [support](#jump) list.
62
85
63
-
**Step 3 (Optional)**. Enable logging by adding the following code to your build.gradle:
86
+
**It is not recommended to manually add @Debounce annotations to methods, you should use the exclusive feature.**
0 commit comments