Topics

Kotlin

About this topic: Articles tagged __TAG__

Showing 74 articles

Topics

Articles

Showing 74 articles

How-tos How to Create an HTTP Request in Kotlin This tutorial teaches the reader the different ways they can use to create an HTTP request in Kotlin. How-tos How to Create a Singleton in Kotlin This tutorial teaches the reader the different ways they can use to create a singleton in Kotlin. How-tos How to Use the with Keyword in Kotlin This tutorial teaches the reader how to use the with keyword in Kotlin. How-tos How to Sort a Collection Using Multiple Fields in Kotlin This tutorial teaches the reader the different approaches they can use to sort a collection using multiple fields in Kotlin. How-tos How to Clone Object in Kotlin This tutorial teaches the reader the different ways they can use to clone an object in Kotlin. How-tos How to Use synchronized() and withLock() to Lock Shared Resources in Kotlin This tutorial teaches the reader how to control access to shared resources by using the synchronized() and withLock() functions. How-tos How to Split a String Into an Array in Kotlin This tutorial teaches the reader the different ways that they can use to split a string into an array in Kotlin. How-tos How to Implement the Floor Modulo Function in Kotlin This tutorial teaches the reader how to implement the floor modulo function for all numeric types in Kotlin. How-tos How to Use of Stack Data Structure in Kotlin This article teaches you how to use the stack data structure in Kotlin. It also lists some methods you can use with stack and an alternative. How-tos How to Create Lists in Kotlin List is a type of collection in Kotlin that allows storing elements that we can access and modify. This article teaches how to create and use a list in Kotlin. How-tos How to Convert String to Int in Kotlin You can convert a Kotlin string to integer if you are building a program or application that accepts multiple parameters, and you want to ensure you only pass integer parameters. How-tos How to Check Kotlin Variable Type Knowing the type of variable in Kotlin can help reduce conversion errors and offer many such benefits. Learn everything about how to check the type of variable in Kotlin. How-tos Ternary Conditional Operator in Kotlin This article teaches alternatives for Ternary Operators like if-else expression, if-else-if ladder, when expression, and Elvis operator using Kotlin. How-tos The Ultimate Guide to Initializing Lists in Kotlin Kotlin lists allow collecting and storing items that are accessible and modifiable. This guide lists a few ways to initialize lists in Kotlin. How-tos Higher Order Functions in Kotlin This tutorial teaches how to pass a function as a parameter and how to return a function using a function in Kotlin. How-tos Kotlin Private Constructor Java allows hiding a constructor by making it private. This article discusses how to achieve the same private constructor in Kotlin. How-tos Kotlin runBlocking: Bridging the Non-Coroutine World With Coroutine Code The Kotlin runBlocking function allows blocking an entire thread. We will see more about Kotlin Coroutine runBlocking in this article. How-tos Kotlin Spread Operator This tutorial teaches the reader how the spread operator works and where it is used in Kotlin. How-tos Object vs Class in Kotlin This tutorial teaches the reader the concepts behind classes and objects and how to use them in our applications. How-tos Kotlin flatMap() Function This tutorial teaches the reader how the flatMap function works, the difference between flatMap and Map functions in Kotlin. How-tos Difference Between Kotlin Init and Constructors Constructors and Kotlin init blocks are a vital part of this programing language. This article offers an overview of the difference between init and constructors. How-tos Difference Between fold() and reduce() in Kotlin This tutorial teaches the reader how to differentiate between the fold() and reduce() methods in Kotlin. How-tos Equivalent of Java String[] in Kotlin This article introduces the equivalent of Java String[] in Kotlin. We will see all the possible ways to achieve the same results for Kotlin as achieved by String[] in Java. How-tos Difference Between Open and Public Keywords in Kotlin This article will introduce the use of Kotlin open and public keywords. We will also learn about the open keyword in details with suitable examples.

← All topics