Is there any fancy way to implement debounce
logic with Kotlin Android?
I'm not using Rx in project.
Java里有一条路,但对我来说太大了.
Is there any fancy way to implement debounce
logic with Kotlin Android?
I'm not using Rx in project.
Java里有一条路,但对我来说太大了.
你可以用kotlin coroutines来实现这一点.
Be aware that coroutines are experimental at kotlin 1.1+ and it may be changed in upcoming kotlin versions.
Since Kotlin 1.3 release, coroutines are now stable.