You could implement your own adapter for the spinner that takes that
kind of string.
Inside the adapter you will probably want to split that string, so you
can populate each row with one part of the string.
You can split the string by using the string class Split() method.
I.e.
string data = "AAA|BBB|CCC|DDD|EEE";
string[] elements = data.Split('|');
now elements should contain all the parts of the string you want.
Then you just have to populate the spinner.
On Mon, Apr 2, 2012 at 5:22 PM, Nosh <[email protected]> wrote:
> Hi All
> I have a string AAA|BBB|CCC|DDD|EEE
> I which to add each item separated by the | to a spinner widget.So the
> spinner should have
> AAA
> BBB
> CCC
> DDD
> EEE
>
>
>
> Any pointers would be appreciated.
>
> Thanks
>
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/Add-String-to-Spinner-tp5612781p5612781.html
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
--
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid