Kotlin by Antonio Leiva


12 reasons why you should start using Kotlin for Android today (KAD 30)

How to use Kotlin code from Java: start using Kotlin today (KAD 29)

Sealed classes in Kotlin: enums with super-powers (KAD 28)

Interfaces in Kotlin. Who said interfaces can’t have code? (KAD 26)

Unit tests on Android with Kotlin (KAD 22)

How to use Retrofit on android with Kotlin (KAD 21)

Writing a RecyclerView Adapter in Kotlin (KAD 16)

Using “when” expression in Kotlin: The “switch” with super powers (KAD 13)

Using Anko to run background tasks with Kotlin in Android (KAD 09)

Custom Views in Android with Kotlin (KAD 06)

Kotlin Android Extensions: Say goodbye to findViewById (KAD 04)

read more on website

Multithreading in java


Multi-threading represents a very intriguing topic, even after years of research and development for high quality, robust, and efficient software. With equal emphasis on hardware improvements and the software that runs on it – we have newer paradigms for parallelism. The most important yet basic concepts are the ones which I present here. I then explain the intricacies of multi-threading in the Java programming language. Some of these are newer features and supported only from the Java Platform Standard Edition 5.0. Let us start with a quick overview and understanding of the core concepts.

Continue reading “Multithreading in java”