Read all articles posted by Devsheet programmers and content writers.
This XML file provides an example of how a native video ad can be created and encoded in XML. It includes the necessary parameters and elements needed to successfully encode a native video ad, allowing developers and advertisers to quickly and effectively create their own native video ad.
Ternary operators in any programming language are used to write conditional statements in one line. In this post, we are going to explain how you can use if else condition in one line using Kotlin.
In this post, we are going to learn different methods that can be used to convert a String value to a Long value in Kotlin.
If you are using Strings in Kotlin and want to convert it to an Int type value then you can use the methods explained in this post. We will be using toInt(), toIntOrNull() and parseInt() methods.
In this post, we are going to explain the methods that can be used to check whether an item exists in an Array or ArrayList.
In this post, we are going to explain different methods that can be used to get the index of an element in an array. We use the indexOf() function of Kotlin to get the index of an item.
Mutable lists are highly used as a collection in the Kotlin programming language. They can store multiple data items in it and you can also add or remove items from a mutable list.
In this post, we are going to explain different methods that can be used to delete elements from an array using Kotlin. We will be converting the array to a mutable list to delete items from array.
In this post, we are going to describe different methods that can be used to add items to an array using Kotlin. We will be converting our arrays to mutable type to add new item.
There are multiple ways to create an empty array in Kotlin. In this post, we are going to explain multiple methods that can be used to create array with no items in it.