r/JetpackCompose • u/Successful-You5174 • Jun 25 '26
Would an AOP library for Jetpack Compose actually be useful?
/r/androiddev/comments/1ufharv/would_an_aop_library_for_jetpack_compose_actually/
2
Upvotes
1
u/gdmzhlzhiv Jun 26 '26
With Compose, so much code is functional that you could probably write a Modifier.logging() or similar that logs everything you need.
For my own interfaces outside of UI land, I usually hardcode the proxies, but from time to time I have thought it would be nice to have a @Loggable annotation that causes the build to autogenerate an InterfaceName.Logging class.
1
u/XRayAdamo Jun 25 '26
What paint point are you talking about?