Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
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);




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 22nd, 2007 11:20 PM
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 03:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.