Bug 30763 - Please open up ImageSource for subclassing
Summary: Please open up ImageSource for subclassing
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.4.2
Hardware: PC All
: Normal enhancement
Target Milestone: ---
Assignee: Bugzilla
URL:
: 32949 ()
Depends on:
Blocks:
 
Reported: 2015-06-03 21:42 UTC by david
Modified: 2016-04-09 01:26 UTC (History)
6 users (show)

Tags:
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:
Status:
RESOLVED ANSWERED

Description david 2015-06-03 21:42:34 UTC
There are many instances where we need to use an ImageSource but it doesn't fit the exact pattern defined by the ImageSource class tree. 

Case in point: I have a client whose image data is on an FTP server, but ImageSource expects HTTP or file paths.

It's not possible for Xamarin.Forms programmers to think of all possible types of ImageSource and provide code for them. We need an extensible mechanism so we can make our own tools on top of yours.
Comment 1 Stephane Delcroix 2015-06-04 03:21:32 UTC
Thanks for your suggestion. We already thought about this and we might consider this feature for a future release.
Comment 2 david 2015-06-04 03:56:10 UTC
With the struggle to manage assets in projects these days (especially cross-platform) it makes sense to think about an SVGImageSource. With subclassable ImageSource I could make my own...
Comment 3 Rui Marinho 2015-08-26 07:51:37 UTC
*** Bug 32949 has been marked as a duplicate of this bug. ***
Comment 4 Jason Smith [MSFT] 2016-04-09 01:26:27 UTC
Thank you for taking the time to submit this feature request. We like this idea and have added it to our internal feature tracking system.

Warm regards,
Xamarin Forms Team