Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Casting Spinner Data

$
0
0

Hi,

I have a weird issue I can't seem to figure out.

I have two near identical applications. One compiles, the other doesn't.

// View ControlView is defined as a parameter at the top of the function.

(ControlView as Spinner).SelectedItem.Cast().Name;

The second application fails telling me Cast isn't available. I only have JavaCast accessible in the list.

Any ideas???


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>