Hyperion-Android icon indicating copy to clipboard operation
Hyperion-Android copied to clipboard

Allow manual wiring-up of AttributeCollectors

Open jbarr21 opened this issue 7 years ago • 1 comments

Similar to #62, I noticed that AttributeCollectors also used Java ServiceLoader. Could an API also be added here to allow for manual hooking up of AttributeCollectors so that non-Gradle build systems like Buck can use this functionality?

jbarr21 avatar Apr 05 '18 21:04 jbarr21

Need to think on this one a bit. There are many more implementations of AttributeCollector than there are Plugin (one for each View), so it seems a bit clunky to have to manually register them all. Maybe each module can have a Service that combines all of its collectors, so Buck users need only register one implementation per module.

Kritarie avatar Apr 06 '18 03:04 Kritarie