> No.  You can only modify it so far as it doesn't break existing
> applications.  That can be very limiting.

But you can replace the entire thing with "NumberChooser" when you
need to make a "clean break".

On Jan 12, 2:12 am, Dianne Hackborn <[email protected]> wrote:
> On Tue, Jan 11, 2011 at 11:55 PM, mort <[email protected]> wrote:
> > But Date- and TimePicker are public and using the NumberPicker as
> > well.
>
> Many classes that are public make use of private classes for implementation.
>  That isn't a reason to make those other classes public.
>
> > And you should be aware that everything that already exists in
> > the core system will be seen as "standard template", and so there are
> > already several apps which copied the NumberPicker or wrote own,
> > similar looking ones.
>
> Um.  Yeah.  It's open source.  If there is something in the open source code
> you like but isn't in the SDK, copy it out, make sure it builds against the
> SDK, and use it.  That's one of the benefits for developers of things being
> open source.
>
> > Isn't the big advantage of Widgets that you can completely replace
> > code and appearance as long as you keep the interface compatible?
>
> No.  You can only modify it so far as it doesn't break existing
> applications.  That can be very limiting.
>
> > I'm
> > afraid you'll now see the "bad old" NumberPicker way longer in apps
> > which copied it than it would've been the case if you offered a public
> > interface and one day replaced it with another implementation - just
> > like it might happen with the date and time pickers.
>
> We can live with that.
>
> > Admit it - you just wanted to lead developers to the wonderful world
> > of the Android source code and git by forcing them to get the
> > NumberPicker from there. ;)
>
> People are absolutely welcome to pull stuff out of the open source code that
> they find useful.  One of the gratifying things about working on Android is
> that all of our work is available to everyone to freely do what they want
> with it.
>
> > No, seriously. I appeciate your work. I might think different in some
> > topics, but you did a wonderful job with Android.
>
> Thanks, I appreciate it. :)
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.

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