Android Studio 4.0 backs native UI toolkit
Google has rolled out a preview of the Android Studio 4.0 IDE, with support for the Jetpack Compose toolkit for building native Android UIs.
Android Studio 4.0 “Canary” works hand in hand with Jetpack Compose, which leverages Kotlin APIs, reduces coding requirements to build native UIs, and automatically updates a UI when state changes. Now entering a developer preview phase, Jetpack Compose is accessible in Android Studio.
Android Studio 4.0 also brings support for some Java 8 APIs, with no requirement for a minimum API level for an app. Using the desugaring process, the DEX D8 compiler in Android Studio 3.x already provided substantial support for Java 8 features such as lambda expressions. With Android Studio 4.0, the desugaring engine was extended to Java language APIs. Developers now can include standard Java language APIs available only in recent releases of Android, such as java.util.streams, in apps that support older versions of Android.
Other new capabilities in Android Studio 4.0 include:
You can download the Android Studio 4.0 Canary preview from developers.android.com.
This story, "Android Studio 4.0 backs native UI toolkit" was originally published by InfoWorld.