Updated on 2026-08-14
This commit is contained in:
parent
069605e151
commit
36516c900f
234 changed files with 902 additions and 1618 deletions
|
|
@ -25,11 +25,7 @@ class Debouncer {
|
|||
|
||||
private var debounceJob: Job? = null
|
||||
|
||||
fun debounce(
|
||||
waitMs: Long = 300L,
|
||||
coroutineScope: CoroutineScope,
|
||||
destinationFunction: () -> Unit,
|
||||
) {
|
||||
fun debounce(waitMs: Long = 300L, coroutineScope: CoroutineScope, destinationFunction: () -> Unit) {
|
||||
debounceJob?.cancel()
|
||||
debounceJob = coroutineScope.launch {
|
||||
delay(waitMs)
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ package com.tangem.utils.detekt
|
|||
AnnotationTarget.TYPE,
|
||||
AnnotationTarget.EXPRESSION,
|
||||
AnnotationTarget.FILE,
|
||||
AnnotationTarget.TYPEALIAS
|
||||
AnnotationTarget.TYPEALIAS,
|
||||
)
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
annotation class UnusedRequiredComponent(val description: String)
|
||||
Loading…
Add table
Add a link
Reference in a new issue