This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

Using Spring's IoC to create an "plugins architecture" for my Android app?Page Title Module

Using Spring's IoC to create an "plugins architecture" for my Android app?

Apr 23rd, 2012, 10:28 PM

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.