Skip to main content

Using Kotlin for Android Development

Hi guys!
it's time to learn basic of kotlin:

(Recommended by both Google and Jetbrains are "Kotlin for Android Developers" is the best tool forever)
Why Kotlin is good:
1.Building server-side code (typically, backends of web applications)
2.Building mobile applications that run on Android devices

These are all of the advantages of a modern language to the Android platform:
Performance = Calling methods is faster because no need to figure out at runtime which method needs to be called.
Compatibility =  Ensuring that Kotlin applications can run on older Android devices with no issues.
and Fully supported in Android Studio and compatible with the Android build system.
 Maintainability— Easly you can see what kind of objects the code is working with.
Compilation Time— Kotlin supports efficient incremental compilation, so while these additional overhead for clean builds are gone.

Kotlin for Android App Implementation:
1.Pinterest
2.Basecamp's Android app
3.Keepsafe's App Lock app
and more are 100% Kotlin code, and they report a huge difference in programmer happiness
and great improvements in work quality and speed.

Tools for Android Development:
1.Kotlin Android Extensions
Configuring the dependency need to enable the Android Extensions Gradle plugin in your project-local build.gradle file:
apply plugin: 'kotlin-android-extensions'
(we'll discuss much more in next blog)
2.Anko
link:https://github.com/kotlin/anko


Comments

Popular posts from this blog

Getting Started with Kotlin For Android Development

Installing the Kotlin Plugin in Android Studio The very first thing you need to do is add Kotlin support to your Android Studio installation. Click on Configure icon, and then select Plugins from dropdown: Click the Install JetBrains plugins button: In the opened dialog, search for Kotlin, select the corresponding plugin and press Install: When you’re finished with downloading and installing, the next step is following the prompts to restart the IDE Configuring Your Project to Use Kotlin Now the IDE knows what to do with Kotlin, but you’ll still need to configure Kotlin every time you want to use it in a new project. Let’s create a new project and configure that project to use Kotlin now. so your next move is to modify the project’s build configuration. Go to Tools\Kotlin\Configure Kotlin in Project. Select Android with Gradle from the Choose Configurator popup that appears. On the Configure Kotlin in Project...

Using Kotlin for Server-side Development

Using Kotlin for Server-side Development Kotlin is a next-gen programming language and  great fit for developing server-side applications. Why Kotlin is good: 1.Building server-side code (typically, backends of web applications) 2.Building mobile applications that run on Android devices These are all of the advantages of a modern Server-side language : > Strong type system thanks to the type inference which will save you many headaches. >Proper multithreading >Which is gaining popularity with the Android development community as a replacement for old good Java. >The language is very well designed and I haven't encountered any gotchas unlike JS where you have to tread carefully the whole time >Kotlin Native will in the future allow you to run Kotlin without the JVM >While you're at it, you can do Android native in the same language and there are plans for better iOS support via Kotlin Native. >Kotlin might replace your bash scripts in the f...