Bug 60815 - New CreateRenderer overload not public
Summary: New CreateRenderer overload not public
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.5.0
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
: 60797 ()
Depends on:
Reported: 2017-11-22 14:57 UTC by Tom Gilder
Modified: 2017-12-11 20:01 UTC (History)
4 users (show)

Tags: ac, fr
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Tom Gilder 2017-11-22 14:57:01 UTC
As of Xamarin.Forms 2.5, the existing Xamarin.Forms.Platform.Android. Platform.CreateRenderer method is marked as obsolete:

[Obsolete ("CreateRenderer(VisualElement) is obsolete as of version 2.5. Please use CreateRenderer(VisualElement, Context) instead.")]
public static IVisualElementRenderer CreateRenderer (VisualElement element);

But the new method is internal, so can't be used externally, meaning I can't fix the build warning.
Comment 1 Tom Gilder 2017-11-22 15:00:05 UTC
PR: https://github.com/xamarin/Xamarin.Forms/pull/1302
Comment 2 Paul DiPietro [MSFT] 2017-11-22 15:34:42 UTC
*** Bug 60797 has been marked as a duplicate of this bug. ***
Comment 3 Paul DiPietro [MSFT] 2017-11-22 16:49:22 UTC
PR closed per comment on it.
Comment 4 Samantha Houts [MSFT] 2017-12-11 20:01:42 UTC