kotlin

Comparing The Kotlin Suspend And RunBlocking Functions

Comparing the Kotlin suspend and runBlocking functions

Explore multi-threading in Kotlin through the use of coroutines, especially the suspend and runBlocking functions.
Ivan Garza
7 min read
Kotlin Queue Guide Android

Kotlin queue guide for Android

Explore the Kotlin queue, a collection interface that is used to store and remove data following the FIFO concept.
Peter Aideloje
7 min read
Using Flutter's MethodChannel to invoke Kotlin code in Android

Using Flutter’s MethodChannel to invoke Kotlin code for Android

Learn how to call Kotlin code from the Dart side via the Flutter platform channels’ MethodChannel class and how to perform...
Shalitha Suranga
15 min read
Moving away from Kotlin's AsyncTask: Alternative solutions

Moving away from Kotlin’s AsyncTask: Alternative solutions

Read about alternatives to the now-deprecated AsyncTask in Kotlin, and learn how to move your resource-intensive tasks off the main thread.
Emmanuel Enya
5 min read
Android Logo With Arrows Pointing Back

WebView and Android back button navigation

Let's explore some solutions to common problems that Android developers often encounter when using WebView, such as back button navigation.
Paulo Pereira
5 min read
Kotlin When Vs. Swift Switch

Comparing control flow statements in Kotlin and Swift

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.
Ivan Garza
5 min read
Exploring Advanced Uses Of Conditions And Loops In Kotlin

Exploring advanced uses of conditions and loops in Kotlin

Let's take a look at conditions and loops in Kotlin, including how to use the Kotlin for loop and why ternary...
Kingsley Ubah
8 min read
Kotlin Activity State Fragment Lifecycle

Activity state and fragment lifecycle in Android apps with Kotlin

In Android development, the activity state and fragment lifecycle play a crucial role, influencing implementation decisions and the final output that...
Peter Aideloje
5 min read
Create Custom Layouts For Android Apps With Jetpack Compose

Create custom layouts for Android apps with Jetpack Compose

Learn how to use Jetpack Compose to create custom Android app layouts based on your project's requirements and recommended dev practices.
Chizoba Ogbonna
6 min read
Java Kotlin Android Development

Kotlin vs. Java for Android development

Compare the community, performance, speed, and stability of Kotlin and Java to determine which programming language is the best fit for...
Levi Vaguez
6 min read
Initializing Lazy And Lateinit Variables In Kotlin

Initializing lazy and lateinit variables in Kotlin

The lateinit initialization can save you from repetitive null checks that you might need when initializing properties as nullable types.
Rahul Chhodde
7 min read
Unit testing in Kotlin projects with Mockk and Mockito

Unit testing in Kotlin projects with Mockk vs. Mockito

This post covers how to perform simple unit tests in Kotlin projects using both Mockk and Mockito, as well as covers...
Emmanuel Enya
5 min read