Hello team,
I was wondering if we could find a workaround, since the package-private concept isn’t supported in Kotlin.
In Jetpack Compose, I have a Composable function that’s about 1,000 lines long. I’d like to extract some of its components into separate files so they’re easier to find within the package, rather than scrolling through the entire file to locate specific functions.
Extracting them into a separate module feels like overkill — they’re already part of a cohesive feature module. I just don’t want those extracted components to be public.
I’ve seen some workarounds, such as creating a custom lint rule, but I hope we can consider an official approach for this.