Browse Source

1.添加注释

20241218TB223FC(测试jar包)
wangwanlei 8 months ago
parent
commit
8f04a98cb4
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      app/src/main/java/com/xhly/manageapp/AppAdapter.kt

+ 2
- 1
app/src/main/java/com/xhly/manageapp/AppAdapter.kt View File

@@ -24,8 +24,9 @@ import java.util.Calendar
24 24
 class AppAdapter(var context: Context, var data: ArrayList<AppInfo>) :
25 25
     RecyclerView.Adapter<AppAdapter.AppViewHolder>() {
26 26
      var changePwdListener:ChangePwdListener?=null
27
+    //用来判断1分钟内的连续策略请求
27 28
      var lastTimeLong=0L
28
-     var enableFlag=true
29
+     //用来判断1s内的连点
29 30
      var lastClickLong=0L
30 31
     override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): AppViewHolder {
31 32
         val inflate = ItemAppBinding.inflate(LayoutInflater.from(context), parent, false)

Loading…
Cancel
Save