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 solution for this scenario.
Hope that Google's stuff will support this issue soon.


On Jun 9, 2:32 pm, David Given <[EMAIL PROTECTED]> wrote:
> 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 onto the database, I
> don't think you can do that.
>
> I'd assumed that he was mapping the database onto a ListView and the
> Spinner was just another widget in the list item hierarchy, which now I
> think about it probably isn't the case.
>
> --
> David Given
> [EMAIL PROTECTED]
--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to