Explore multi-threading in Kotlin through the use of coroutines, especially the suspend and runBlocking functions.
Explore the Kotlin queue, a collection interface that is used to store and remove data following the FIFO concept.
Learn how to call Kotlin code from the Dart side via the Flutter platform channels’ MethodChannel class and how to perform event-driven Flutter-Native communications via EventChannel.
Read about alternatives to the now-deprecated AsyncTask in Kotlin, and learn how to move your resource-intensive tasks off the main thread.
Let’s explore some solutions to common problems that Android developers often encounter when using WebView, such as back button navigation.
Control flow statements like Kotlin’s when and Swift’s switch statements are used to break up typical top-to-bottom flows of code execution.
Let’s take a look at conditions and loops in Kotlin, including how to use the Kotlin
for loop and why ternary operators are not needed.
In Android development, the activity state and fragment lifecycle play a crucial role, influencing implementation decisions and the final output that is experienced by end users.
Learn how to use Jetpack Compose to create custom Android app layouts based on your project’s requirements and recommended dev practices.
Compare the community, performance, speed, and stability of Kotlin and Java to determine which programming language is the best fit for your project.
lateinit variables in Kotlin
The lateinit initialization can save you from repetitive null checks that you might need when initializing properties as nullable types.
This post covers how to perform simple unit tests in Kotlin projects using both Mockk and Mockito, as well as covers their differences.