Wednesday, 4 January 2012
Changes to UI code.
So I've made some change to the basic design of the application. I thought it would be worth justifying the here so when I come to write up why I remember.
Originally I had a List item in my activity, I moved beyond this to using
ArrayLists With an Adaptor
So the new changes I've put in are more in keeping with what seems best - practices.
I've got an project_list_layout.xml and a project_list_item.xml
These are passed to the constructor of of the UI component which inflates the xml.
I then moved beyond this to a ListActivity, which doesn't need a specific list element in the layout as one is provided as part of the subclass.
Subscribe to:
Posts (Atom)