-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Separate data & UI modules #1002
Comments
Agree. I think the underlying problem is more that we import libraries which ends up affecting the Debug Classpath (e.g. Material Design Components). If we would have no dependencies on external libraries we depend on, we won't have this problem. |
Definitely agree. Modularizing the app seems like an easier path forward than removing dependencies (but maybe the opposite is true!) |
@cortinico any interest/movement on solving this? Would you consider an external PR to address this? I'd be interested in tackling it, but it's unclear to me what the best path forward is: do we modularize things and let consumers depend on a UI-less artifact (and ship their own UI), do we try and remove MDC as a dependency in the current module structure, or something else entirely? Would appreciate any thoughts you have! |
I think it would be great to have this solved, but I currently don't have the time to invest on this. I'm more than happy to receive a PR that implements this. Perhaps first would be ideal to have a diagram of how you envision the codebase to be modularized |
My request was revealed as I ran into the same problem as #801 (but ultimately not related to a problem, just an enhancement request)
💡 Describe the solution you'd like
It'd be great if Chucker could isolate its UI into a standalone artifact, separate from the "core" Chucker dependency, so clients could optionally use Chucker's built-in UI or build their own. I would say this problem is somewhat related to #801 and #579.
In its current form, the main chucker artifact requires consumers to be on the same versions of the Android/Jetpack libraries that the Chucker UI relies on (and pulling in those transitive dependencies, when not on the same versions, can cause unintended side effects).
📊 Describe alternatives you've considered
📄 Additional context
🙋 Do you want to develop this feature yourself?
The text was updated successfully, but these errors were encountered: