Latest update


Annotation: v1.8.0-rc01

May 1, 2024

androidx.annotation:annotation-*:1.8.0-rc01 is released. Version 1.8.0-rc01 contains no changes since the prior beta release.

Appcompat: v1.7.0-beta01

May 1, 2024

androidx.appcompat:appcompat:1.7.0-beta01 and androidx.appcompat:appcompat-resources:1.7.0-beta01 are released. Version 1.7.0-beta01 contains these commits.

Benchmark: v1.3.0-alpha04

May 1, 2024

androidx.benchmark:benchmark-*:1.3.0-alpha04 is released. Version 1.3.0-alpha04 contains these commits.

API Changes

Bug Fixes

Compose Animation: v1.6.7

May 1, 2024

androidx.compose.animation:animation-*:1.6.7 is released. Version 1.6.7 contains these commits.

Compose Animation: v1.7.0-alpha08

May 1, 2024

androidx.compose.animation:animation-*:1.7.0-alpha08 is released. Version 1.7.0-alpha08 contains these commits.

API Changes

External Contribution

Compose Compiler: v1.5.13

May 1, 2024

androidx.compose.compiler:compiler:1.5.13 and androidx.compose.compiler:compiler-hosted:1.5.13 are released. Version 1.5.13 contains these commits.

New features

Bug Fixes

Compose Foundation: v1.6.7

May 1, 2024

androidx.compose.foundation:foundation-*:1.6.7 is released. Version 1.6.7 contains these commits.

Compose Foundation: v1.7.0-alpha08

May 1, 2024

androidx.compose.foundation:foundation-*:1.7.0-alpha08 is released. Version 1.7.0-alpha08 contains these commits.

New Features

API Changes

Bug Fixes

External Contribution

Compose Material: v1.6.7

May 1, 2024

androidx.compose.material:material-*:1.6.7 is released. Version 1.6.7 contains these commits.

Compose Material: v1.7.0-alpha08

May 1, 2024

androidx.compose.material:material-*:1.7.0-alpha08 is released. Version 1.7.0-alpha08 contains these commits.

API Changes

Bug Fixes

Compose Material3: v1.3.0-alpha06

May 1, 2024

androidx.compose.material3:material3-*:1.3.0-alpha06 is released. Version 1.3.0-alpha06 contains these commits.

Breaking Changes

API Changes

Bug Fixes

Compose Material3 Adaptive Navigation Suite: v1.0.0-alpha07

May 1, 2024

androidx.compose.material3:material3-adaptive-navigation-suite:1.0.0-alpha07, androidx.compose.material3:material3-adaptive-navigation-suite-android:1.0.0-alpha07, and androidx.compose.material3:material3-adaptive-navigation-suite-desktop:1.0.0-alpha07 are released. Version 1.0.0-alpha07 contains these commits.

API Changes

Bug Fixes

Compose Material3 Adaptive: v1.0.0-alpha12

May 1, 2024

androidx.compose.material3.adaptive:adaptive-*:1.0.0-alpha12 is released. Version 1.0.0-alpha12 contains these commits.

API Changes

Bug Fixes

Compose Runtime: v1.6.7

May 1, 2024

androidx.compose.runtime:runtime-*:1.6.7 is released. Version 1.6.7 contains these commits.

Compose Runtime: v1.7.0-alpha08

May 1, 2024

androidx.compose.runtime:runtime-*:1.7.0-alpha08 is released. Version 1.7.0-alpha08 contains these commits.

Compose UI: v1.6.7

May 1, 2024

androidx.compose.ui:ui-*:1.6.7 is released. Version 1.6.7 contains these commits.

Compose UI: v1.7.0-alpha08

May 1, 2024

androidx.compose.ui:ui-*:1.7.0-alpha08 is released. Version 1.7.0-alpha08 contains these commits.

API Changes

Bug Fixes

External Contribution

Core Performance: v1.0.0

January 10, 2024

androidx.core:core-performance:1.0.0, androidx.core:core-performance-play-services:1.0.0, and androidx.core:core-performance-testing:1.0.0 are released. Version 1.0.0 contains these commits.

Major features of 1.0.0

Bug Fixes

Core and Core-ktx: v1.13.1

May 1, 2024

androidx.core:core:1.13.1, androidx.core:core-ktx:1.13.1, and androidx.core:core-testing:1.13.1 are released. Version 1.13.1 contains these commits.

Bug Fixes

Core and Core-ktx: v1.14.0-alpha01

May 1, 2024

androidx.core:core:1.14.0-alpha01, androidx.core:core-ktx:1.14.0-alpha01, and androidx.core:core-testing:1.14.0-alpha01 are released. Version 1.14.0-alpha01 contains these commits.

New Features

API Changes

DataStore: v1.1.1

May 1, 2024

androidx.datastore:datastore-*:1.1.1 is released. Version 1.1.1 contains these commits.

Bug Fixes

Fragment: v1.7.0

May 1, 2024

androidx.fragment:fragment-*:1.7.0 is released. Version 1.7.0 contains these commits.

Predictive Back Gesture Support

Transition System XML Resource Supports Predictive Back
Animation R.anim No
Animator R.animator Yes
Framework Transition R.transition No
AndroidX Transition with Transition 1.4.1 or less R.transition No
AndroidX Transition with Transition 1.5.0 R.transition Yes

If you see any issues with Predictive Back support in Fragments after you’ve opted into the predictive back gesture, please file an issue against Fragment with a sample project that reproduces your issue. You can disable predictive back by using FragmentManager.enabledPredictiveBack(false) in the onCreate() of your Activity.

FragmentManager.OnBackStackChangedListener() now provides the onBackStackChangeProgressed() and onBackStackChangeCancelled() for receiving predictive back progress and canceled events respectively.

Fragment Compose Artifact

A new fragment-compose artifact has been created that focuses on supporting apps that are in the process of moving from a Fragment based architecture to a fully Compose based architecture.

The first feature available in this new artifact is a content extension method on Fragment that seeks to make it easier to use Compose for the UI of an individual Fragment by creating a ComposeView for you and setting the correct ViewCompositionStrategy.

  class ExampleFragment : Fragment() {

      override fun onCreateView(
          inflater: LayoutInflater,
          container: ViewGroup?,
          savedInstanceState: Bundle?
      ) = content {
          // Write your @Composable content here
          val viewModel: ExampleViewModel = viewModel()

          // or extract it into a separate, testable method
          ExampleComposable(viewModel)
      }
  }

Graphics Path: v1.0.1

May 1, 2024

androidx.graphics:graphics-path:1.0.1 is released. Version 1.0.1 contains these commits.

Bug Fixes

Graphics Shapes: v1.0.0-beta01

May 1, 2024

androidx.graphics:graphics-shapes:1.0.0-beta01, androidx.graphics:graphics-shapes-android:1.0.0-beta01, and androidx.graphics:graphics-shapes-desktop:1.0.0-beta01 are released. Version 1.0.0-beta01 contains these commits.

API Changes

input: v1.0.0-beta04

May 1, 2024

androidx.input:input-motionprediction:1.0.0-beta04 is released. Version 1.0.0-beta04 contains these commits.

New Features

Bug Fixes

Lifecycle: v2.8.0-rc01

May 1, 2024

androidx.lifecycle:lifecycle-*:2.8.0-rc01 is released. Version 2.8.0-rc01 contains these commits.

Bug Fixes

External Contribution

Navigation: v2.8.0-alpha08

May 1, 2024

androidx.navigation:navigation-*:2.8.0-alpha08 is released. Version 2.8.0-alpha08 contains these commits.

Safe Args in Navigation Compose

This functionality uses Kotlin Serialization to allow you to define destinations in your navigation graph via type safe objects and data classes:

  // Define a home destination that doesn't take any arguments
  @Serializable
  object Home

  // Define a profile destination that takes an ID
  @Serializable
  data class Profile(val id: String)

  // Now define your NavHost using type safe objects
  NavHost(navController, startDestination = Home) {
      composable<Home> {
          HomeScreen(onNavigateToProfile = { id ->
              navController.navigate(Profile(id))
          })
      }
      composable<Profile> { backStackEntry ->
          val profile: Profile = backStackEntry.toRoute()
          ProfileScreen(profile)
      }
  }

See the Navigation Compose meet Type Safety blog post for more information.

New Features

Paging: v3.3.0-rc01

May 1, 2024

androidx.paging:paging-*:3.3.0-rc01 is released with no changes in Paging 3.3.0-beta01. Version 3.3.0-rc01 contains these commits.

Room: v2.7.0-alpha01

May 1, 2024

androidx.room:room-*:2.7.0-alpha01 is released. Version 2.7.0-alpha01 contains these commits.

New Features

For more information on how to get started using Room KMP, please refer to the official Room KMP documentation.

API Changes

Sqlite: v2.5.0-alpha01

May 1, 2024

androidx.sqlite:sqlite-*:2.5.0-alpha01 is released. Version 2.5.0-alpha01 contains these commits.

New Features

Transition: v1.5.0

May 1, 2024

androidx.transition:transition:1.5.0 and androidx.transition:transition-ktx:1.5.0 are released. Version 1.5.0 contains these commits.

Important changes since 1.4.0

Tv-Material: v1.0.0-beta01

May 1, 2024

androidx.tv:tv-material:1.0.0-beta01 is released. Version 1.0.0-beta01 contains these commits.

API Changes

Vectordrawable: v1.2.0

May 1, 2024

androidx.vectordrawable:vectordrawable:1.2.0 and androidx.vectordrawable:vectordrawable-animated:1.2.0 are released. Version 1.2.0 contains these commits.

Vectordrawable-Seekable 1.0.0: v1.0.0

May 1, 2024

androidx.vectordrawable:vectordrawable-seekable:1.0.0 is released. Version 1.0.0 contains these commits.

Major features of 1.0.0

androidx.vectordrawable:vectordrawable-seekable is a seekable alternative for androidx.vectordrawable:vectordrawable-animated with some additional features. It supports the same XML format as AnimatedVectorDrawable.

See SeekableAnimatedVectorDrawable for the details.

ViewPager2: v1.1.0-rc01

May 1, 2024

androidx.viewpager2:viewpager2:1.1.0-rc01 is released with no notable changes since 1.1.0-beta02. Version 1.1.0-rc01 contains these commits.

Wear Compose: v1.4.0-alpha08

May 1, 2024

androidx.wear.compose:compose-*:1.4.0-alpha08 is released. Version 1.4.0-alpha08 contains these commits.

API Changes

Bug Fixes

Wear Compose Material3: v1.0.0-alpha22

May 1, 2024

androidx.wear.compose:compose-material3:1.0.0-alpha22 is released. Version 1.0.0-alpha22 contains these commits.

API Changes

Bug Fixes

wear protolayout: v1.2.0-alpha02

May 1, 2024

androidx.wear.protolayout:protolayout-*:1.2.0-alpha02 is released. Version 1.2.0-alpha02 contains these commits.

API Changes

Bug Fixes

Wear Tiles: v1.4.0-alpha02

May 1, 2024

androidx.wear.tiles:tiles-*:1.4.0-alpha02 is released. Version 1.4.0-alpha02 contains these commits.

API Changes

Bug Fixes

Webkit: v1.11.0

May 1, 2024

androidx.webkit:webkit:1.11.0 is released. Version 1.11.0 contains these commits.

Important changes since 1.10.0

WindowManager: v1.3.0-beta02

May 1, 2024

androidx.window:window-*:1.3.0-beta02 is released. Version 1.3.0-beta02 contains these commits.

API Changes

Bug Fixes