HI! First post so bear with me. This question may be broader than just Android depending on the answer so apologies if it's slightly off topic.
* I am making an image filtering application for Android. * I want to populate my ListActivity with the list of available filters. * I don't want to maintain a static list of filters available * I don't want to reference the concrete implementations but rather the interface. (e.g. Inverse not JNIInverse or NaiveInverse) >From my basic understanding of spring and guice and design patterns what I think I need is a registration object which is populated with all available filters on startup, it should be populated and injected into my main activity using a spring config file so as to decouple the main activity from the implementations of the filters (Which are subject to change). To get and use a filter I would then ask the registration component if it had a filter and return a not yet implemented message if it's not found. * Is this a viable solution to my requirements? * What is the preferred tool for injection with Android? * Does anyone have a better suggestion? Or a reference to the design pattern I am trying desperately to explain above? Apologies if you find the question vague, i'll happily clarify any points that are ambiguous. Loving Android programming, so easy to get something running! Many thanks, Gav --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

