Thread
#compose
    Damian Zawadzki

    Damian Zawadzki

    11 months ago
    Guys where do you store PreviewParameterProviders? Because i see that most of repositories holds it in main source set:https://github.com/search?q=PreviewParameterProvider&type=code while docs says that we should use debug source set to not include them into all builds:https://developer.android.com/jetpack/compose/tooling#previewparameter But there is problem when you got multiple build types and you need to provide something in other source set. We end up copying empty interfaces in other sourcesets than debug but it's little anoying. Any thoughts ?
    Albert Chang

    Albert Chang

    11 months ago
    R8 will strip out all the preview-related code so actually no need to worry.
    Damian Zawadzki

    Damian Zawadzki

    11 months ago
    nice, thanks 😉