Assigned
Status Update
Comments
em...@google.com <em...@google.com> #2
After some googling I found https://github.com/android/camera-samples/blob/master/CameraXBasic/app/src/main/java/com/android/example/cameraxbasic/utils/AutoFitPreviewBuilder.kt which does what I want. Would it be possible to fold this into the main library or at least make it configurable without the need for that class?
Description
Consider the following existing API:
When you change this to
and run
./gradlew updateApi
, you get the following error:Reproduce this by:
git am 0001-Setup-Api-Files.patch
(see attached file)This adds the "existing API" from the example to the current and 1.1.0-beta05 api files of
ui-test-junit4
to setup the example.git apply Implement-By-Delegation.patch
(see attached file)This applies the changes from the example
./gradlew compose:ui:ui-test-junit4:updateApi