Using Spring's IoC to create an "plugins architecture" for my Android app?
I want to implement a plugins system for an Open Source app, because it has become really large, with many features that only a few users need. Releasing different apps is not a good solution, because userA wants feature7 and feature24 whilst userB wants feature39 and feature24.
Can Spring's inversion of control / dependency injection features be used to achieve this?
Here is what I would like a plugin to be able to do:
- Redefine the layout of a particular screen
- Redefine a method of a class
The form of the plugin could be a file on the SD card, an app, or anything else.
Thanks a lot!
(I also posted a similar question on StackOverflow)