Thanks Ali.

I am aware of the what the design patterns are, what i needed to know is
which one hits the spot in my case. Anyways I have gone ahead with
something that I have figured after some head scratching and will let you
all know if i succeed.



On Tue, Jul 17, 2012 at 12:42 PM, Ali Chousein <[email protected]>wrote:

> 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




-- 
Regards
Harsh Vardhan

-- 
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

Reply via email to