Articles

The concept of coroutine must be familiar to everyone now. After all, not only LUA, Go, and Kotlin but also C++ all support coroutines.

But different languages have different implementations. Such as LUA, coroutines will be scheduled when someone called yield() or resume().

Source de l’article sur DZONE

A common dilemma faced by many developers is whether to go with Android or IOS? Well, all I can say is, “it all depends on CHOICES!” To me, Android is the best bet. Why? Android today has managed to hold 88% of the global market, whereas competitors like Apple’s IOS and Windows are way behind. 

In this tutorial, I will take you through an introduction to Android app development, so you can get started building your own. 

Source de l’article sur DZONE

Java is considered to be the heart of the Android operating system, and so, for every Android developer, there is hardly any alternative than Java. Well, at last, a superb alternative to Java has appeared with a lot of value packed within. Kotlin is a programming language that comes as a better and more effective alternative to Java for Android development.

At this moment even, the Android community is abuzz with the discussion on Kotlin. This is precisely why we are going to explain the five key features of Kotlin.

Source de l’article sur DZONE

In this tutorial, we’ll learn more about Fragments — what are they, how to use them, and how to create them.

What Are Fragments?

A Fragment represents a portion of the user interface. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities.

Source de l’article sur DZONE

Recently, I came across Micronaut, a super light framework that fills the need for something in between Spring Boot and Vert.x.

I have been playing with it and wanted to see if I could get a simple project with Micronaut, a Kotlin/Java intermix for the (main) source code, and Groovy/Spock tests. Turns out it’s not that difficult. I just had to fiddle with it a little bit to get it right. So to save you time, here it is:

Source de l’article sur DZONE

Gradle Kotlin DSL 1.0 release candidate is generally available, including Gradle 4.10. The Kotlin DSL is nearly ready for widespread use.

We want you to enjoy a build authoring experience with the benefits provided by Kotlin’s static type system: context-aware refactoring, smart content assist, debuggable build scripts, and quick access to documentation. In case you haven’t seen it, you can watch Rodrigo B. de Oliveira demonstrate these benefits in this KotlinConf 2017 video.

Source de l’article sur DZONE

It’s about time that you reconsider Java as your go-to language for your Android-based projects. And, it’s about time to switch over to Kotlin, the (not so) new support language for Android development. But, what’s behind its surging popularity amongst developers? In other words, what are the biggest advantages of Kotlin over Java?

Why should you even consider trying it as an alternative to the sometimes problematic, yet familiar and reliable Java? Now, here are some of the best answers to your questions:

Source de l’article sur DZONE