Reflection in Kotlin is a fairly advanced topic. It is capable of performing things that normal code just can’t. Let’s have a walk through Reflection APIs.
Kotlin 1.5 will bring exciting new features, among them improvements for sealed classes and an introduction of sealed interfaces. Let’s take a look at what that will look like!
To suspend in Kotlin Coroutines, you’d simply add the suspend modifier to your function. Just what exactly does adding this suspend modifier do? How does it work behind the scenes? That’s what we’ll be exploring in this blog.
For a given array, find Index N where the sum of integers to the left of N is equal to the sum of integers to the right of N, If there is no index that would make this return -1.
Confused about generic subtyping? With just a few simple, foundational concepts, almost everything about variance becomes clear. If you’re confused about how subtyping works with generics in Kotlin, start here.
A mini game for Android about a Space ranger, who’s on a mission to defend his planet from Space pirates. Sit back, relax and destroy the incoming ships. Fight on!
The entire game engine has been written from scratch, in Kotlin.
Every visual asset in the game is drawn with code, using Android Custom Views.