You cannot extend case statements in your code dynamically, but take a look at the strategy design pattern (http://en.wikipedia.org/wiki/Strategy_pattern). I think that's what you need. Design patterns are not Android specific by the way, they are just a set of best practices in designing software.
------------------------------------------------- Ali Chousein https://play.google.com/store/apps/details?id=com.apps.social_nav https://play.google.com/store/apps/details?id=com.apps.weather_buddy http://www.paygol.com/android/implementation -- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

