Resource attrs vs. Setters

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Resource attrs vs. Setters

Postby shmoula » Wed Mar 25, 2009 10:13 pm

I'm wondering about difference of standard bean-like acces into view class via getters and setters, or through xml based attributes via context.obtainStyledAttributes. Which is difference between these styles and which one is better to use in which situation? Any tutorial or something?
Thanks in advance!
Posts: 3
Joined: Mon Mar 23, 2009 10:08 pm


Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 6 guests