Design Detour: The View Lifecycle and Spaghetti Code

It's easy to string together a series of articles that talk about specific functionalities (such as maps), and forget to address something as critical as elegant design. My goal is to add a section every now and then which helps ensure that the final application is not only functional, but well written, and easy to maintain over time.

The first topic in this section deals with keeping a level of compatibility between the way iOS and Android views work. The second topic demonstrates a technique for avoiding Spaghetti Code in your mobile application. ( http://en.wikipedia.org/wiki/Spaghetti_code )