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

Hi!
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!
shmoula
Freshman
Freshman
 
Posts: 3
Joined: Mon Mar 23, 2009 10:08 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google Feedfetcher and 7 guests