KOTLIN Posts on XDA

Android Development Basics: How to add Kotlin to an existing Java Android project

Kotlin is pretty great. It's got a whole bunch of useful language features, and the syntax is generally clean and simple. It's also cross-platform, and the base language can compile to a whole bunch of different languages and platforms. Kotlin for Java (called KotlinJVM) compiles to the same thing Java compiles to — JVM bytecode for...

Android Development Basics: How to replace AsyncTask with Kotlin’s Coroutines

For a very long time in Android, if you needed to do anything asynchronously when making an app, you'd probably be using AsyncTask. AsyncTask is an API in Android's framework that makes it easy(ish) to run operations in the background and return values when finished. And that makes sense. Unlike Kotlin's Coroutines, AsyncTask has been...

Android Development Basics: How to add View Binding to an Android Gradle project

Most Android developers are probably familiar with the classic findViewById() method. Pass it an ID of one of the Views in your XML layout and it'll return a reference to the inflated version of that View. That's all assuming you passed the right ID though, and that the View actually exists. findViewById() has no checks...

JetBrains launches Kotlin Basics, a free starter course on Kotlin

Back in 2019, JetBrains launched its Academy program. Academy lets anyone who wants to learn a language do so through guided lessons and projects, with integrations in JetBrains' IDEs. For instance, JetBrains advertises lessons in over 400 topics related to Java programming. In general, full JetBrains Academy courses cost money, while courses in beta are...

JetBrains Compose for Desktop and Web is now in alpha

If you haven't heard of Jetpack Compose, where have you been lately? Google created this declarative UI framework to replace the standard XML layout engine in Android. Compose lets developers create their layouts and accompanying logic all in Kotlin. JetBrains, the company behind Kotlin, also got in on the Compose action and is working on...

Google unveils new features for Android Jetpack, Android Studio, and Kotlin at Google I/O 2021

We're now well into the Google I/O 2021 developer conference, and so we're seeing a bunch of developer-centric news for all of Google's development products. On top of changes to Flutter and Firebase, we've also got some new features for native Android development, including announcements about Android Jetpack, Android Studio, and even Kotlin. Jetpack Compose Jetpack Compose...

Google releases Jetpack Compose beta, with a stable API, accessibility support, and more

Here we are again. I wrote about Jetpack Compose, Google's new UI engine, back when it went into alpha, and again when JetBrains ported it to desktop platforms. Today, the beta release of Jetpack Compose is here. In case you aren't caught up on all the new UI technologies in existence (I don't blame you) and you...

Google is redesigning the Play Console and adding new features to Android Studio, Kotlin, and Jetpack

The Android 11 Beta might have just been released, but if you're a developer, there's more to be excited about. Along with Android 11, Google is introducing a whole bunch of goodies for developers, including a new Google Play Console design, new versions of Android Studio, and a bunch of AndroidX and Kotlin updates. Google Play...

Android Jetpack Rockets Forward With Cameras and Biometrics

The speed and ease of development have been core focuses of the Android platform practically since day one. Right from the beginning, Google set out to lay the foundation for how to support the greatest number of devices in the easiest possible manner on already available phone hardware. Last year at Google I/O 2018, Google...

Square announces their In-App Payments SDK for Android, Flutter, and iOS

Many of you have probably heard of Square Inc. They're a company that specializes in financial services, especially when concerning mobile payments and point-of-sale systems. You've probably seen their card readers at restaurants, retail stores, or even outdoor events. However, managing payments isn't the only thing Square does. The company also has an entire website dedicated...

The 2018 Android Dev Summit kicks off today, here’s what Google announced

Another year brings us another Android Dev Summit held by Google. Google never lets up on news from the development scene of the biggest mobile operating system in the world. The 2018 Android Dev Summit kicked off today in Mountain View, California where Google highlighted Android's successes, talked about their roadmaps for current development tools,...

AndroidTO 2018: Canada’s Longest Running Android Conference Turns 9

On November 6th AndroidTO will be returning to Toronto for another year as the largest and longest running Android conference in Canada. AndroidTO 2018 is hosted by Symbility Intersect at the MaRS Discovery District in Toronto, Ontario, Canada, and is a part of the Google Developer Group DevFest 2018 season as the final conference before...