[mono-android] Getting the name of a spinner

Paul Johnson paul at all-the-johnsons.co.uk
Mon Nov 7 18:03:27 EST 2011


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodroid/attachments/20111107/13c2347b/attachment.html 


More information about the Monodroid mailing list