kotlin

Kotlin SharedPreferences data storage guide

This comprehensive Android data storage guide investigates and offers solutions for using Kotlin's SharedPreferences API.
Paulo Pereira
5 min read

ArrayList vs. LinkedList for Kotlin data structure

Let's explore the main differences between ArrayList and LinkedList in Kotlin to figure out which data collection structure is best.
Antonello Zanini
6 min read

Understanding Kotlin data serialization

Understand data serialization in Kotlin, which allows you to convert your data into other compatible formats and share it with others.
Boemo Mmopelwa
4 min read

Kotlin dependency injection: Koin vs. Hilt

Learn about the two most popular dependency injection libraries for Modern Android Development: Dagger’s Hilt and Kotlin’s Koin.
Ivan Garza
7 min read

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 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 for Android

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...
Shalitha Suranga
15 min read

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

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

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

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...
Kingsley Ubah
8 min read

Activity state and fragment lifecycle in Android apps with…

In Android development, the activity state and fragment lifecycle play a crucial role, influencing implementation decisions and the final output that is experienced by...
Peter Aideloje
5 min read