Thank you.
--
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+unsubscr...@googlegroups.com
For more optio
Yes you do, it is not in the SDK.
On Thu, Jan 6, 2011 at 11:00 PM, MerlinBG wrote:
> By public I mean included in the public API - not internal. To reuse it,
> not to copy/duplicate it.
> Thanks for the link, I do use Google quite successful :) The question was
> more like "do we still need to d
By public I mean included in the public API - not internal. To reuse it, not
to copy/duplicate it.
Thanks for the link, I do use Google quite successful :) The question was
more like "do we still need to duplicate existing code, or this changed
during the year since this topic is posted".
--
Y
I gave up and wrote my own that seems to work well. XML Configurable,
doesn't create gobs of temp objects.
http://casadelgato.com/content/numberpicker
On Thu, Jan 6, 2011 at 10:40 AM, Kumar Bibek wrote:
> Dig in the source code. What do you mean by public here?
>
>
> http://www.google.com/code
Dig in the source code. What do you mean by public here?
http://www.google.com/codesearch/p?hl=en#uX1GffpyOZk/core/java/android/widget/NumberPicker.java&q=NumberPicker%20android%20java&sa=N&cd=1&ct=rc
Use Google code search.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On T
I see this thread is more than an year old. Any chance to have the
NumberPicker public by now?
--
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 thi
Can the google developers please start bringing these widgets out to
the public API? Something like a number picker widget seems too
common for GUIs that it be kept internal. I believe there was also
the slider widget that was being kept internal.
Of course I'm probably ignorant as to why this
Beshoy wrote:
> Then how else can this be accomplished?
As I wrote earlier in this thread:
"The source to it is probably available on source.android.com. Clone
your own until they open that one up in the SDK."
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the R
Then how else can this be accomplished?
On Feb 7, 10:06 pm, Dianne Hackborn wrote:
> DO NOT DO THIS.
>
> See the word "internal" in there? That means internal. Do not touch. Your
> code will break in the future. In fact some platform engineer just may go
> rename that class for no reason
DO NOT DO THIS.
See the word "internal" in there? That means internal. Do not touch. Your
code will break in the future. In fact some platform engineer just may go
rename that class for no reason at all and break your code.
2009/2/4 solomonk
>
> No need to clone it if you really don't want
"setCurrent" to set values works:
---
try {
Method m = c.getMethod("setCurrent", int.class);
m.invoke(o, mDauer%60);
} catch (Exception e) {
Log.e("", e.getMessage());
}
---
But how to get values? Any idea?
On 4 Feb., 18:43, s
No need to clone it if you really don't want to. You can use it in XML
layot like
and then use reflection to set settings:
Object o = findViewById(R.id.picker);
Class c = o.getClass();
try {
Method m = c.getMethod("setRange", int.class, int.class);
Will wrote:
> Setting a breakpoint when a DatePickerDialog is open on the emulator's
> screen shows a com.android.internal.widget.NumberPicker for month,
> year, and date (1 number picker each for a total of three
> NumberPickers). It looks like the same widget used for a time picker;
> based on
Setting a breakpoint when a DatePickerDialog is open on the emulator's
screen shows a com.android.internal.widget.NumberPicker for month,
year, and date (1 number picker each for a total of three
NumberPickers). It looks like the same widget used for a time picker;
based on the name I'm sure it i
14 matches
Mail list logo