Bexon’s Note

Eine Entwicklungsnotiz

2D planar coordinate system conversion

Record the formulas commonly used for the conversion of 2D coordinate systems.

Posted on Tue, Mar 26, 2024 Rust

A Template for ViewModel + Flow

Whether you're using MVI or MVVN, ViewModel is now the best way to store application-related data.

Posted on Sat, Mar 23, 2024 Android Kotlin

Virtual Threads

Virtual Threads were introduced in Java 19 and finalized in Java 21 as part of the Loom project.

Posted on Fri, Mar 22, 2024 Java

Android custom UI lacks language in settings

Set the language to the missing language in the Android custom UI

Posted on Thu, Oct 19, 2023 Android

Java Map + lambda, the alternative forms of if-else

An alternative form of if-else, provides an other way.

Posted on Fri, Sep 22, 2023 Java

Extracting WARP to generate a WireGuard

WARP is a web tool provided by Cloudflare that uses WireGuard.

Posted on Wed, Aug 23, 2023 Network

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.

Posted on Fri, Aug 18, 2023 Kotlin

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.

Posted on Thu, Aug 17, 2023 Swift iOS