[mono-android] Getting the name of a spinner

Tomasz Cielecki tomasz at ostebaronen.dk
Mon Nov 7 18:28:36 EST 2011


Isn't it possible to get the id of a spinner? Set an id for each them?

On Tue, Nov 8, 2011 at 12:03 AM, Paul Johnson
<paul at all-the-johnsons.co.uk> wrote:
> Hi,
> I have 4 spinners on a single tab. The ItemEvent event shoves them all to a
> single method for processing.
> Is there a simple way in that event to get the name of the spinner? On a
> standard winform, I'd use
> Spinner spin = (Spinner) sender;
> switch (sender.Name)
> {
> ///
> }
> but I can't see anything similar or obvious for the ItemEvent. Any clues on
> this?
> Thanks
> Paul
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk


More information about the Monodroid mailing list