Hi,

I was just trying to extend the AbsSpinner Class, to create my own
custom widget. But the problem is that some of the member variables
have a a default scope, so I can't access them just by extending the
class (they can only be access directly by classes in the same
package). Some are ok as they have getters and setters , but there is
the odd  member variable that doesn't , so i simply can't access them
because my new custom widget in not in the same package. An example of
such a member variable is mSelectedPosition   in AdapterView.

Would it not be better if these vars were to have a protected scope
rather than the default scope, it would then be easier to extend these
classes to make custom widgets outside of the package of these
classes.

-- 
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