commit | d240a8bed256f2793e262d40508d00ee049dedcf | [log] [tgz] |
---|---|---|
author | Aman Khosa <[email protected]> | Tue Dec 31 13:14:44 2024 +0000 |
committer | Aman Khosa <[email protected]> | Tue Dec 31 16:34:07 2024 +0000 |
tree | 9a00493894d73201333d01f354971186f6350b95 | |
parent | 378ffdeec8bc46ce4950952e5d5d2dfe3f228ecd [diff] |
Remove auto centering logic from SLCScrollInfoProvider Details in bug report. Auto centering logic here was causing anchor item to be set to an offscreen item in SLC, which meant scroll away was not triggered for time text at start of list, instead it got triggered further down the list when the auto centering item index became visible, which caused the time text being stuck issue. After this change the anchorItemOffset is calculated by looking at a fixed position item near the top of the list (item 1), since this anchorItemOffset is primarily used to determine when to scroll away time text and item 1 is likely always visible when the SLC is first displayed, this is an appropriate index to use. 0 can also probably be used, however since 1 is already the default value when auto centering is not used it is probably better to stick to this. Bug: 372750873 Test: Manual (video included on bug) Change-Id: Ie6a49cdaa995fe71bab69f4f4d62e79923fd78a5
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.