An android lint to make `@Preview` functions priva...
# compose
An android lint to make
functions private to avoid polluting code completion might be useful?!
This recent discussion lies in the same concept of problems with Previews and developer experience imo. This doesn’t seem to be actively looked into unfortunately. It’s good that more people like you bring it up here and there. I hope some actions are taken to address these problems at some point 🤗
Thanks for mentioning this discussion
We built one for our team because we are okay enforcing that all previews should be private. That being said I don’t think it is a globally applicable requirement - some teams might not want that enforcement
Of course its not necessary. Would be just neat. I also make all composables private that are not reusable. It's just good to know if devs are aware about that