Status Update
Comments
ch...@google.com <ch...@google.com>
co...@gmail.com <co...@gmail.com> #2
We are currently using AGP internal task types to flag memory-intensive tasks to enforce a reduced parallelism at execution time. I've raised this separately (with a lot more detail) as a feature request (
ch...@google.com <ch...@google.com>
ch...@google.com <ch...@google.com> #4
Another use case that we have is to reactively respond to the creation of APKs and AABs. The new AGP APIs allow us to connect out tasks into the artifact pipeline via wiredWith
but the best we can come up with to receive the completed artifact is to wire in toTransform
. This A) does not guarantee that we will receive the final artifact as more transforms may be applied after our task is called, and B) requires us to copy the input property file/dir to our tasks output property file/dir in order to not break the build cache.
The reactive behavior of the above is the complicating factor.
A non-reactive approach could simply depend upon the task name and then look for a hardcoded path in the build directory (which is still sort of gross, since the build output paths are not documented as public API and change from time to time).
Another approach would be to wire a custom task to consume the output of the build via the built artifacts loader feeding an input property. However, this approach cannot be applied reactively. Either the custom task is included in the build and causes the creation of the binary artifact, or it is not included in the build and never gets invoked.
Description
Version used: 22.2.1
Theme used: AppCompat
Devices/Android versions reproduced on: Nexus 6
I am new to accessibility, but I have a "category" button that a user can click on to show some content related that content. If there is no content in that category - I set a snackbar to appear saying "there is no content in this category".
Shouldn't TalkBack automatically read this aloud after a user clicks on it? If not, the developer documentation should be updated on how to handle this type of scenario.