Tag: kotlin

Kotlin Scoping Functions

Comparing Kotlin scope functions

Dev

There are five types of scope functions in Kotlin that execute a block of code within the scope of an object: let, with, run, apply, and also.

Peter Aideloje
Apr 29, 2022 ⋅ 6 min read
Guide To Using Map Interface In Kotlin

A guide to using the Map interface in Kotlin

Dev

In this article, you will learn about the Map interface in Kotlin as well as its usage and association with coding examples.

Sneh Pandya
Apr 26, 2022 ⋅ 4 min read
Generic persistent storage in Android using Jetpack DataStore

Generic persistent data storage in Android using Jetpack DataStore

Dev

Learn how to use the Jetpack DataStore API, a powerful and more performant persistent data storage alternative to the SharedPreferences API.

Emmanuel Enya
Apr 19, 2022 ⋅ 6 min read

Guide to using sealed classes in Kotlin

Dev

Kotlin’s sealed classes can be more performant and flexible than enum or abstract classes. Learn how to use them in this tutorial.

Joseph Kimani
Apr 15, 2022 ⋅ 12 min read
Creating A GraphQL Server With Ktor

Creating a GraphQL server with Ktor

Dev

In this article, you will learn about setting up GraphQL in Ktor and exposing an existing datasource as a GraphQL API.

Jobin Lawrance
Mar 17, 2022 ⋅ 4 min read
flutter kotlin mobile development

Kotlin vs. Flutter for Android development

Dev

Dive into the pros and cons of mobile app development with Kotlin and Flutter to make an informed decision for your next project.

Eshiet Ekemini
Mar 9, 2022 ⋅ 7 min read
Everything You Need To Know About Kotlin Extensions

Everything you need to know about Kotlin extensions

Dev

Kotlin extensions allow you to extend a class by adding new features to it without inheritance, and without using the Decorator pattern.

Antonello Zanini
Feb 9, 2022 ⋅ 6 min read
Adding AlertDialog With Jetpack Compose To Android Apps

Adding AlertDialog with Jetpack Compose to Android apps

Dev

Learn how to use Jetpack Compose in an Android app to create an alert dialog to ask users to confirm or cancel important actions.

Lukasz Kalnik
Jan 11, 2022 ⋅ 9 min read
Data Binding in Android: A tutorial with examples

Data Binding in Android: A tutorial with examples

Dev

Learn how Android’s Data Binding Library helps you take a more declarative approach to your UI components and app layout in this post.

Sneh Pandya
Dec 21, 2021 ⋅ 7 min read
Exploring Theming In Jetpack Compose

Exploring theming in Jetpack Compose

Dev

Learn how theming works in Android’s Jetpack Compose and explore its internal implementation of Material Theming.

Chizoba Ogbonna
Dec 14, 2021 ⋅ 6 min read
Complete Guide to Null Safety In Kotlin

A complete guide to null safety in Kotlin

Dev

Discover the distinguishing factors between nullable and non-nullable types and how to check for null variables using advanced Kotlin operators like Elvis operator and Not-null assertion operator.

Antonello Zanini
Dec 7, 2021 ⋅ 7 min read
Glide Logo Over Clouds

Create an Android photo app using Glide

Dev

This introduction to Glide covers the basics of how to use it and demonstrates how to build a simple photo app on Android from scratch.

Akshay Rana
Dec 2, 2021 ⋅ 7 min read