adjpd
08/29/2021, 7:49 PMimplementation "androidx.compose.ui:ui-tooling:$compose_version"
But then that means that library will increase the size of my production build. Is there a way around this?Javier
08/29/2021, 8:05 PMadjpd
08/29/2021, 8:16 PMSergey Y.
08/29/2021, 9:08 PMAlbert Chang
08/30/2021, 12:38 AMHowever, users concerned in packaging
PreviewActivity in their release builds and/or worried about the APK size
impact caused by ui-tooling now have the option to add ui-tooling-preview as
an implementation API and ui-tooling as debugImplementation. PreviewActivity
won't then be part of the release APK, and its size shouldn't increase too
much, since ui-tooling-preview should be much smaller than ui-tooling.
Albert Chang
08/30/2021, 12:39 AMadjpd
08/30/2021, 12:59 AMAlbert Chang
08/30/2021, 1:01 AM