Saturday, February 20, 2010

[android-developers] Non-parallel construction of DatePicker and TimePicker

I was surprised and dismayed to discover that the DatePicker and
TimePicker classes, which are of parallel construction in almost every
way, differ in one significant way. There is no
setOnDateChangedListener(...) method in DatePicker while there is a
setOnTimeChangedListener(...) method in TimePicker. For two classes
that parallel one another in every other way, including the appearance
and operation of their corresponding Views, why do they diverge in
this fairly important aspect? I eventually discovered that there is
a way to set the OnDateListener through the init(...) method, but COME
ON! Was this just an oversight on Google's part? I hope that they
fix this in a coming release.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate