Hi,
Thanks again, Mark and David.
The suggested ideas seems too complicated (I was hoping to simplify
the solution. and not the other way around...).
Therefore, I would probably have to add some fictive records to
database tables. It isn't such a legitimate software design, but it is
the simplest
Mark Murphy wrote:
> David Given wrote:
>> Simplest solution is probably to use a custom ViewBinder on your
>> SimpleCursorAdapter that adds a '(no selection)' row to the spinner.
>
> Can a ViewBinder add rows? I don't see how given the API.
Yeah, if you're mapping the Spinner's data directly
David Given wrote:
> Simplest solution is probably to use a custom ViewBinder on your
> SimpleCursorAdapter that adds a '(no selection)' row to the spinner.
Can a ViewBinder add rows? I don't see how given the API.
--
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training on the
Shaimailit wrote:
[...]
> I would like to enable no selection in the spinner itself (like
> windows combobox style), without using other controls, like checkbox.
> I forgot to mention an important issue: I am using the
> SimpleCursorAdapter, which means I get the values from DB table.
> Therefore,
Shaimailit wrote:
> Hi,
> thanks for the reply.
> I would like to enable no selection in the spinner itself (like
> windows combobox style), without using other controls, like checkbox.
> I forgot to mention an important issue: I am using the
> SimpleCursorAdapter, which means I get the values fro
Hi,
thanks for the reply.
I would like to enable no selection in the spinner itself (like
windows combobox style), without using other controls, like checkbox.
I forgot to mention an important issue: I am using the
SimpleCursorAdapter, which means I get the values from DB table.
Therefore, I prefe
Shaimailit wrote:
> I want to permit a user not to select any of the spinner values (as
> default, one of the spinners values is alwys selected).
> How can I enable "no selection" option on spinner control?
Put an option in the spinner labeled "(no selection)" and make it the
default.
Or, add a
7 matches
Mail list logo