commit | 8e0e8b060c03ced8e59d1711716cfa31c0372f13 | [log] [tgz] |
---|---|---|
author | Viktor Yakovel <[email protected]> | Fri Apr 04 13:12:58 2025 +0000 |
committer | Viktor Yakovel <[email protected]> | Tue Apr 15 06:50:30 2025 +0000 |
tree | f53d3b88f914505f66017fc8195c34c6bd5d54aa | |
parent | f6d8b2f9277dcee4d1ec6661b933243abc43794d [diff] |
Use lambda for contentDescription update in Picker Providing lambda removes a lot of recompositions Benchmark before: PickerBenchmarkTest_start[compilation=BaselineProfile] gfxFrameJankPercent min 4.1, median 5.4, max 6.2 gfxFrameTime50thPercentileMs min 11.0, median 11.0, max 12.0 gfxFrameTime90thPercentileMs min 18.0, median 18.0, max 19.0 gfxFrameTime95thPercentileMs min 19.0, median 22.5, max 25.0 gfxFrameTime99thPercentileMs min 26.0, median 27.0, max 29.0 gfxFrameTotalCount min 463.0, median 499.5, max 515.0 memoryHeapSizeLastKb min 5,284.0, median 13,912.0, max 24,853.0 memoryRssAnonLastKb min 36,352.0, median 47,616.0, max 62,976.0 memoryRssFileLastKb min 88,512.0, median 88,864.0, max 89,044.0 Traces: Iteration 0 1 2 3 4 5 6 7 8 9 After: PickerBenchmarkTest_start[compilation=BaselineProfile] gfxFrameJankPercent min 0.4, median 0.6, max 1.0 gfxFrameTime50thPercentileMs min 11.0, median 11.0, max 11.0 gfxFrameTime90thPercentileMs min 13.0, median 14.0, max 14.0 gfxFrameTime95thPercentileMs min 14.0, median 14.0, max 15.0 gfxFrameTime99thPercentileMs min 16.0, median 18.0, max 24.0 gfxFrameTotalCount min 465.0, median 490.0, max 513.0 memoryHeapSizeLastKb min 8,476.0, median 16,029.5, max 24,838.0 memoryRssAnonLastKb min 41,984.0, median 53,248.0, max 66,048.0 memoryRssFileLastKb min 90,612.0, median 91,066.0, max 91,124.0 Traces: Iteration 0 1 2 3 4 5 6 7 8 9 Bug: 408977237 Bug: 406241231 Test: PickerBenchmarkTest Relnote: N/A Change-Id: I002ddc35c8177181e6f06e90cf4c0f48a7b474af
Jetpack is a suite of libraries, tools, and guidance to help developers write high-quality apps easier. These components help you follow best practices, free you from writing boilerplate code, and simplify complex tasks, so you can focus on the code you care about.
Jetpack comprises the androidx.*
package libraries, unbundled from the platform APIs. This means that it offers backward compatibility and is updated more frequently than the Android platform, making sure you always have access to the latest and greatest versions of the Jetpack components.
Our official AARs and JARs binaries are distributed through Google Maven.
You can learn more about using it from Android Jetpack landing page.
For contributions via GitHub, see the GitHub Contribution Guide.
Note: The contributions workflow via GitHub is currently experimental - only contributions to the following projects are being accepted at this time:
When contributing to Jetpack, follow the code review etiquette.
We are not currently accepting new modules.
Head over to the onboarding docs to learn more about getting set up and the development workflow!
Our continuous integration system builds all in progress (and potentially unstable) libraries as new changes are merged. You can manually download these AARs and JARs for your experimentation.
Before uploading your first contribution, you will need setup a password and agree to the contribution agreement:
Generate a HTTPS password: https://android-review.googlesource.com/new-password
Agree to the Google Contributor Licenses Agreement: https://android-review.googlesource.com/settings/new-agreement
AndroidX uses git to store all the binary Gradle dependencies. They are stored in prebuilts/androidx/internal
and prebuilts/androidx/external
directories in your checkout. All the dependencies in these directories are also available from google()
, or mavenCentral()
. We store copies of these dependencies to have hermetic builds. You can pull in a new dependency using our importMaven tool.