1. Where should we keep constants in Kotlin? if you need constants to be accessed globally use const as top-level properties (not inside a class). In order to do this create…
Control flow: for, while, if, when This post is for beginners who want to start learning Kotlin language and already know Java. We will show simple examples of for, while, if,…
If you search on the internet about how to show a bulleted list from strings.xml using HTML tags, most of the answers will say that you should use a WebView,…
In Android you can specify activity launchMode. You can do this either from AndroidManifest.xml file, either using intents with flags. Some of the flags produce the same effects like those…
In order to display leaderboards from your game you will have to set up your project and to be signed in. Below you will learn how to do this. Project…
After trying some libraries in order to make a cube animation for my viewPager, I realized that is pretty easy to do this. Android provides an interface called ViewPager.PageTransformer and…
Display HTML format First we will present below what are the supported tags for a textView and what are not supported. You can skip this section if you are already…
Recently, I’ve noticed that there are a few different ways to pass a function as parameter. In this post I will use 2 functions: sum and divide. We have to…