On Sun, Aug 22, 2010 at 5:44 PM, William Ferguson
<[email protected]> wrote:
> Is the shipped SDK doing something to specifically hide fields and
> methods like AdapterView#mOldItemCount and
> AdapterView#setselectedPositionInt in 2.1 and 2.2?

Well, the latter might have an @hide directive.

You may need to copy more than one class into your own package
(AdapterView, AbsSpinner, Spinner) to achieve your desired effect.

Personally, I'd just let the Spinner have some existing value as its
default. After all, all Spinner values should be valid. Setting the
default means some percentage of users will have one less touch-screen
thing to manipulate, and no matter how slick we make these devices,
user input is a pain for users. You may feel there is value in forcing
everyone to make a choice from the Spinner; your users may not
necessarily agree.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

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

Reply via email to