Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Android Programming with Mono for Android and .NET/C#
This is the forum to discuss the Wrox book Professional Android Programming with Mono for Android and .NET/C# by Wallace B. McClure, Nathan Blevins, John J. Croft, IV, Jonathan Dick, Chris Hardy ; ISBN: 978-1-1180-2643-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Android Programming with Mono for Android and .NET/C# section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 17th, 2012, 10:14 PM
Friend of Wrox
Points: 1,905, Level: 17
Points: 1,905, Level: 17 Points: 1,905, Level: 17 Points: 1,905, Level: 17
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2011
Posts: 411
Thanks: 13
Thanked 7 Times in 7 Posts
Default Can not implicitly convert type

When I try to compile your chapter 6 code straight from the download website. I get the following error message:

Error 1 Cannot implicitly convert type 'System.EventHandler<Android.Widget.ItemEventArgs> ' to 'System.EventHandler<Android.Widget.AdapterView.It emSelectedEventArgs>' C:\C#AndroidProgramming\Chapter6\Databinding_Spinn erCursor\Databinding_Cursor\SpinnerSample.cs 63 34 Databinding_Cursor


The compiler fails on this line of code:

targetSpinner.ItemSelected += new EventHandler<ItemEventArgs>(SpinnerItemSelected);
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot implicitly convert type 'Login' to 'System.Web.UI.WebControls.Login' fh84 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 1 January 23rd, 2009 11:17 AM
Cannot implicitly convert type ... lcarpay ASP.NET 2.0 Basics 3 June 23rd, 2007 12:20 AM
cant implicitly convert type int to bool muskaanbajaj BOOK: ASP.NET Website Programming Problem-Design-Solution 3 November 19th, 2005 04:57 PM
Cannot implicitly convert type int to bool muskaanbajaj General .NET 12 May 5th, 2005 04:57 AM



All times are GMT -4. The time now is 12:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.