Tag: kotlin

Kotlin Data Binding Slow Rendering

Using data binding to prevent slow rendering in Kotlin

Dev

In Android applications, data binding is a process that involves coupling two data sources together and synchronizing them, increasing the speed at which your application renders.

Peter Aideloje
Jul 26, 2022 ⋅ 5 min read
Kotlin Logo Over Colorful Swirl

How to create static methods and classes in Kotlin

Dev

Here’s a look at how declaring static classes can be achieved in Kotlin and the benefits of it with respect to code reusability.

Matteo Di Pirro
Jul 15, 2022 ⋅ 7 min read
Guide To Kotlin Design Patterns

Understanding design patterns in Kotlin

Dev

Let’s look at some widely used Kotlin design patterns (such as the provider pattern and many others) with code snippets and sample use cases.

Bianca Dragomir
Jul 14, 2022 ⋅ 12 min read

Implementing optional callbacks in Kotlin from scratch

Dev

There are several ways to implement optional callbacks in Kotlin. Learn about all of them in this complete tutorial.

Boemo Mmopelwa
Jul 13, 2022 ⋅ 4 min read
Kotlin Logo Over Colorful Background

Type casting in Kotlin: Unsafe vs. safe

Dev

Discover what type casting is, how Java and Kotlin approach it, which operators Kotlin provides, and how, when, and why to use them.

Antonello Zanini
Jul 5, 2022 ⋅ 7 min read
Building Cross Platform Mobile Apps With Kotlin Multiplatform

Building cross-platform mobile apps with Kotlin Multiplatform

Dev

With KMM, you can write the core of your app in Kotlin and use it in Android and iOS applications. You only need to write platform-specific code.

Asutosh Nayak
Jun 10, 2022 ⋅ 8 min read
Guide To Regular Expression Kotlin

A guide to regular expressions in Kotlin

Dev

Learn how to use regular expression as a means of validation in Kotlin by building a simple app to validate a mobile number.

Muyiwa Femi-Ige
Jun 9, 2022 ⋅ 5 min read
How To Use compareTo() And Other String Actions In Kotlin

How to use compareTo() and other string actions in Kotlin

Dev

Let’s look at how to compare Kotlin strings and other ways to work with stored string values in this statically typed language.

Kingsley Ubah
Jun 1, 2022 ⋅ 6 min read
Kotlin Logo

How to extend classes in Kotlin without using inheritance

Dev

In this tutorial, we compare and contrast inheritance and Kotlin extensions to understand the pros and cons of each.

Ivan Garza
May 23, 2022 ⋅ 4 min read
Test and debug Android apps like a pro with Charles Web Proxy

Test and debug Android apps like a pro with Charles Web Proxy

Dev

In this detailed tutorial, learn how to easily and powerfully test and debug your Android apps using Charles Web Proxy.

Emmanuel Enya
May 18, 2022 ⋅ 6 min read
Linting In Kotlin A Complete Guide

Linting in Kotlin: A complete guide

Dev

Lint tools are used to help find errors and avoid poorly written code. Learn about linting in Kotlin and how you can get started with it.

Muyiwa Femi-Ige
May 16, 2022 ⋅ 6 min read
Understanding Kotlin Generics

Understanding Kotlin generics

Dev

Learn about Kotlin generics, a way of writing our code in a flexible and safe with as few compile-time errors as possible.

Bianca Dragomir
May 3, 2022 ⋅ 9 min read