chevron-up bell reply instagram twitter2 feed3 finder search-25px-p0

Tag Archives: kotlin

How to place a location on Google Map

Here are few steps on how to add Google Map to your Kotlin/Android project, in this post, there are two things: Show marker on Google Map Get current location (Latitude & Longitude) Show marker on Google Map Step 1: Add dependencies in build.gradle: compil……

Why Kotlin doesn’t have static

As you may observe while programming with Kotlin (1.1.60), there is no static members or methods. Instead you can use the companion object to work it around. [gist https://gist.github.com/arkilis/e1ff8d09c630c88193c45f63a8e074e2/] The reason behind this is: https://discuss.kotl……

How to use RxAndroid with kotlin

This article is more for iOS developers who wants to put their hands on the Android Development, or for those who just want to enter the Android development world. There are no hard points in the article. In the tutorial, you are about to know: Install how to install dependenc……

A comparison between Kotlin and Swift: Collections

Similar to Swift, collection in Kotlin includes: List Set Map 1. List Features of List: May have duplicate element May hold different data types All elements are unordered Similar to array in swift, list can be immutable and mutable. With immutable list, it can't be added……