srikondoji
Jul 13th, 2011, 09:27 AM
Finally i was able to get this thing right. Now my controllers are getting these arguments correctly. However, what i would like to know from other members who are developing mobile applications is....
How do you combine these two arguments and display to the end user appropriate UI?
Would you let SitePreference take precedent or do a complex if/else logic on Device and SitePreference variables to drive your UI?
What i am thinking is to let Device argument decide the UI for the first time and let the SitePreference take over after that. But that is a complex if/else logic which looks like lot of code in controller handler methods.
Is there a better option or approach?
Thanks in advance.
sri
How do you combine these two arguments and display to the end user appropriate UI?
Would you let SitePreference take precedent or do a complex if/else logic on Device and SitePreference variables to drive your UI?
What i am thinking is to let Device argument decide the UI for the first time and let the SitePreference take over after that. But that is a complex if/else logic which looks like lot of code in controller handler methods.
Is there a better option or approach?
Thanks in advance.
sri