|
@@ -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)
|