DoctorXu

kotlin training guide 8 – higher-order functions in sets

Original link: https://xuyisheng.top/kotlin8/ Kotlin has added a lot of fast high-order function operations to the set operation class. Various operators make many developers confused, especially looking at some Kotlin source code or coroutine source code, all kinds of dazzling operators , so that the code is completely unreadable. Therefore, this article will explain the collection …

kotlin training guide 8 – higher-order functions in sets Read More »

IdleHandler IdleHandler

Original link: https://xuyisheng.top/idlehandler/ In Android, Handler is a very frequently used thing. The input event mechanism and system state are all transferred through Handler. In Handler, there is something that is rarely mentioned but very useful, that is IdleHandler , its source code is as follows. /** * Callback interface for discovering when a thread …

IdleHandler IdleHandler Read More »

Android-Widget reloaded

Original link: https://xuyisheng.top/android-widget-back/ If you want to find one that has always existed in the Android system, but has been ignored by people, and has very useful functions, then Widget must be counted as one. This function, which has existed since Android 1.x, has gone through nearly 10 years of iterations. After being ignored and …

Android-Widget reloaded Read More »

Gossip – Issue 7

In a blink of an eye, I’ve been stuck at home for a month. The Shanghai epidemic is beyond everyone’s expectations. As a technical public account, we don’t judge any political issues, but just as a personal experiencer, talk about our recent feel. When we first knew about the spread of the epidemic, in fact, …

Gossip – Issue 7 Read More »