Categories Kotlin

90 posts

Auto Added by WPeMatico

Kotlin: Mutability

Kotlin is a very rich language with much subtlety tucked away. In this occasional series (meaning that there will be occasional, standalone posts covering distinct areas) we’ll explore some of these subtleties. In this post we’ll take a look at mutability. Mutability is a core concept in Kotlin, but all […]

Kotlin programming language now available as a snap for Ubuntu

Popular programming language Kotlin arrives as a snap for Ubuntu Canonical has announced that the modern programming language, Kotlin, is now available as a snap package for Ubuntu. Over the past couple of months, Canonical has also announced snap packages for the popular music streaming service Spotify, and apps such as Slack […]

Kotlin Weekly Update — 28

Weekly update on Kotlin resources. 1. Exploring KTX for Android Exploring KTX for Android 2. Effective Networking On Android using Retrofit, Rx and Architecture Components Effective Networking On Android using Retrofit, Rx and Architecture Components 3. Why starting a new Android project with Java is a bad idea Why starting a new […]

Effective Networking On Android using Retrofit, Rx and Architecture Components

For many, like me, Retrofit is the go-to library on Android to talk to their REST APIs. Retrofit also supports adapters to convert your API responses into Reactive Streams. Reactive streams, among other things, help you handle threading effectively. This makes your Android application robust, stable and development faster. For […]

Android KTX-a new library by Android, that you need to try today!

It is amazing how much improved our Android development process has been, after Kotlin was announced as the official language for Android development. From people at Android, improving Android Studio to make it easier for us developers, to use Kotlin on our favorite IDE, to people at Kotlin making Anko […]

A stress-free way to test frustrating static method calls in Kotlin

Let me make a wild guess… You have encountered some code in Kotlin that is using some third-party library. The API that the library provides is one or a few static methods. And you want to test some code using these static methods. It is painful. You are not sure how […]

Java libraries with Kotlin. The case of dependency injection frameworks

https://www.flickr.com/photos/the-money-pit/5900474232 Kotlin opened up a new world for us. Developers write less code than before in Java world. And Kotlin’s interoperability with Java made it easy to incorporate it into existing and new apps, while still having the freedom of using our favourite Java libraries. However, as these libraries are […]