During android jetpack compose development I use this code to see some preview result:
GlideImage(
imageModel = { imageUrl },
modifier = Modifier.aspectRatio(0.8f),
previewPlaceholder = R.drawable.poster
)
Let's say that the poster preview resource is rather large, and I only use it for the preview placeholder. Will this affect my final app size in the end?
Response from the landscapist team: https://github.com/skydoves/landscapist/issues/267
Your sample images will really increase APK size
Currently the suggestion is to use some mandatory resource for the previews like the launcher icon, as there's no way to add "preview only" resources for compose