Paul Krill
Editor at Large

Google updates Android Jetpack, unveils Jetpack Compose

news
May 10, 20192 mins

Android Jetpack development toolkit gains 11 new libraries and a companion toolkit to ease the creation of UIs

toolbox full of tools and equipment for development, building and repair
Credit: dorian2013 / Getty Images

Google has updated Android Jetpack, the suite of libraries and tools for Android mobile development. The update includes a series of new libraries for capabilities ranging from building camera apps to benchmarking code. Google also introduced Jetpack Compose, a project aimed at simplifying UI development.

The new Android Jetpack libraries are in alpha or beta stages. These include:

  • Android for Cars, a beta-stage library for building apps that can be installed in a vehicle’s infotainment system via Android Automotive OS.
  • Benchmark, an alpha-stage library for benchmarking Java, Kotlin, and native code. Google has used this library to prevent introduction of latency into code. The library works with the Android Studio IDE.
  • Biometrics Prompt, a beta library for entering biometrics log-in credentials.
  • CameraX, an alpha library for camera app development without having to be concerned with underlying device behavior. The API is backward-compatible to Android 5.0 (API 21) or higher. 
  • ConstraintLayout2, a beta library providing a new way of customizing layouts, using helper classes. Motion and widget animation management is provided, via a <a href="https://developer.android.com/training/constraint-layout/motion-layout" rel="nofollow">MotionLayout</a> type.
  • Enterprise, a beta library enabling managed enterprise apps to send feedback to mobility management providers in the form of keyed app states.
  • Lifecycle and LiveData KTX, an alpha library providing Kotlin coroutines that are lifecycle-aware. Developers can access coroutines scopes tied to lifecycles, coroutines that are lifecycle-aware, and support for asynchronous chains with the liveData builder.
  • Security, an alpha for implementing security best practices including encryption and a hardware-backed keystore with user presence.
  • ViewModel with SavedState, an alpha-stage module that offers the benefits of ViewModel, which saves UI data when a configuration is changed, and SavedState, saving application state.
  • ViewPager2, the next generation of ViewPager, for screen slide transitions. ViewPager2 is in an alpha state.

Google also has rolled out a preview of Jetpack Compose, a toolkit intended to simplify UI development. It combines a reactive programming model with Kotlin. Jetpack Compose can be downloaded from developer.android.com.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author