2D planar coordinate system conversion
Record the formulas commonly used for the conversion of 2D coordinate systems.
A Template for ViewModel + Flow
Whether you're using MVI or MVVN, ViewModel is now the best way to store application-related data.
Virtual Threads
Virtual Threads were introduced in Java 19 and finalized in Java 21 as part of the Loom project.
Android custom UI lacks language in settings
Set the language to the missing language in the Android custom UI
Java Map + lambda, the alternative forms of if-else
An alternative form of if-else, provides an other way.
Extracting WARP to generate a WireGuard
WARP is a web tool provided by Cloudflare that uses WireGuard.
Closure in Kotlin
A lambda expression or anonymous function (as well as a local function and an object expression) can access its closure, which includes the variables declared in the outer scope. The variables captured in the closure can be modified in the lambda.
Closure in Swift
Closures in Swift are similar to that of self-contained functions organized as blocks and called anywhere like C and Objective C languages.