Questions That Should Be Asked More Frequently
Should I rely on data binding in an application that I plan to distribute?
I rely on data binding when I build the user interface for an application. It lets me develop the basic user interface quickly with a small amount of code. Once I’m comfortable with the layout of the user interface and the schema of the data that the application uses, I consider whether to continue relying on data binding. If I need more control than I can achieve using data binding, or if I decide that relying on data binding will not save time in completing the application, I replace the data-binding functionality with my own code.
You’ll notice that step 11 in the chapter’s main sample application still relies on a bound ...