@Damian Zawadzki Proguard too right? And what about test-fake variables, functions, composable functions and other stuff only used inside Preview functions?
d
Damian Zawadzki
10/19/2021, 12:42 PM
good question. Im not sure 😄 PreviewParameterProvider should be removed by R8 or proguard but im not sure what about private composable functions which are used only in scope of previews.
c
Csaba Kozák
10/19/2021, 12:47 PM
R8 / Proguard should remove any unused functions which are not called from production code.