Friday, 17 May 2013

Android Development - No default tying up of controls

After having a quick peek at Android Studio, I was hoping in the latest version of Android would automatically tie up or help you automate the leg work involved in getting a handle on controls on the view.

You still have to find the view by Id and then cast it to the correct view. To me this just seems so stinky. I think something like the below is nicer as it just keeps your code more readable....

I quite like Ropbojuice too, https://code.google.com/p/roboguice/wiki/SimpleExample this automatically squishes the things you need in and is worth looking into.

No comments:

Comments System

Disqus Shortname