﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - Crosslight - It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Wed, 15 Apr 2015 07:55:01 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; -webkit-font-smoothing: antialiased; margin: 10px 0px; padding: 0px; border: 0px; outline-offset: 0px; line-height: 1.5em; font-size: 13px; color: rgb(51, 51, 51); text-rendering: optimizelegibility !important; background-color: rgb(255, 255, 255);"&gt;Hi Leo,&lt;/p&gt;&lt;p style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; -webkit-font-smoothing: antialiased; margin: 10px 0px; padding: 0px; border: 0px; outline-offset: 0px; line-height: 1.5em; font-size: 13px; color: rgb(51, 51, 51); text-rendering: optimizelegibility !important; background-color: rgb(255, 255, 255);"&gt;We have uploaded the hotfix for CROS-796 &amp;amp; CROS-797 (Duplication and also improvement for supporting multiple image view in custom table cell). You can download the nightly build&amp;nbsp;&lt;a href="http://git.intersoftpt.com/projects/CROS/repos/updates/browse/Crosslight3_0_5000_228" target="_blank"&gt;here&lt;/a&gt;. Please note that you need to use Unified API for it to work.&lt;/p&gt;&lt;p style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; -webkit-font-smoothing: antialiased; margin: 10px 0px; padding: 0px; border: 0px; outline-offset: 0px; line-height: 1.5em; font-size: 13px; color: rgb(51, 51, 51); text-rendering: optimizelegibility !important; background-color: rgb(255, 255, 255);"&gt;Best Regards,&lt;br style="-webkit-font-smoothing: antialiased; margin: 0px; padding: 0px; border: 0px; outline-offset: 0px; text-rendering: optimizelegibility !important;"&gt;Arief&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Wed, 01 Apr 2015 09:34:02 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Leo,&amp;nbsp;&lt;br&gt;&lt;br&gt;Even though i already use the newest crosslight assemblies looks like the error is still there, i already report your issue to our programmer (duplication &amp;amp; error ones) with code CROS-796 and CROS 797, i will update you with new information about the fix.&lt;br&gt;&lt;br&gt;Meanwhile i'm suggesting using only byte[] image data (ImageProperty) using ImageProperty i encounter no error (use ImageMemberPath or not) hope that helps&lt;br&gt;&lt;br&gt;Best Regards&lt;br&gt;Arief&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Mon, 30 Mar 2015 10:49:54 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><description>&lt;p&gt;The problem is when use ImageMemberPath, the two image views will show the same picture. Please take a look at my attachment images.&amp;nbsp;&lt;/p&gt;&lt;p&gt;My requirement is the two image views should show different images, that's why I need to use ImageSourceProperty. It's no problem on Android platform.&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Mon, 30 Mar 2015 03:34:48 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Leo,&lt;br&gt;&lt;br&gt;Sorry for the late response, in IOS you actually MUST bind the first ImageView using member path like this:&amp;nbsp;&lt;br&gt;&lt;/p&gt;&lt;pre style="-webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline-offset: 0px; white-space: pre-wrap; word-wrap: break-word; color: rgb(63, 63, 63); line-height: 18px; text-rendering: optimizelegibility !important;"&gt;  ItemBindingDescription itemBinding = new ItemBindingDescription                                                 {                                                     //DisplayMemberPath = "Name",
                                                     //DetailMemberPath = "Location",
                                                     ImageMemberPath = "ResolvedThumbnailImage",
                                                     //ImagePlaceholder = "item_placeholder.png"
                                                 };
			itemBinding.AddBinding("ItemImageView", BindableProperties.ImageSourceProperty, "ResolvedThumbnailImage");

			itemBinding.AddBinding("TestImageView", BindableProperties.ImageSourceProperty, "ResolvedTestImage");
			itemBinding.AddBinding("TestImageView", BindableProperties.IsVisibleProperty, "Sold");
&lt;/pre&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;

ImageMemberPath will be default-ly bind to "ImageView" name so reserved that name to the first image you want to bind&lt;br&gt;&lt;br&gt;So in example above: your first image must be binded to image member path, and second image to "TestImageView"&lt;br&gt;&lt;br&gt;If the error still persist please inform us :)&lt;br&gt;&lt;br&gt;Best regards,&amp;nbsp;&lt;br&gt;Arief</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Sun, 29 Mar 2015 10:18:59 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><description>&lt;p&gt;Any updates?&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Tue, 24 Mar 2015 10:21:47 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><description>&lt;p&gt;Hi Arief,&lt;/p&gt;&lt;p&gt;Is there any updates?&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;I added 2 UIImageView in the ItemListViewCell which named&amp;nbsp;ItemImageView and&amp;nbsp;TestImageView. When I bind ImageSourceProperty to each of them with different image source url, The "Object reference not set to an instance of an object" exception is thrown.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;The binding info is shown as below. It is in the ItemListBindingProvider.cs file.&lt;/p&gt;&lt;pre&gt;            ItemBindingDescription itemBinding = new ItemBindingDescription                                                 {
                                                     //DisplayMemberPath = "Name",
                                                     //DetailMemberPath = "Location",
                                                     //ImageMemberPath = "ResolvedThumbnailImage",
                                                     //ImagePlaceholder = "item_placeholder.png"
                                                 };
			itemBinding.AddBinding("ItemImageView", BindableProperties.ImageSourceProperty, "ResolvedThumbnailImage");

			itemBinding.AddBinding("TestImageView", BindableProperties.ImageSourceProperty, "ResolvedTestImage");
			itemBinding.AddBinding("TestImageView", BindableProperties.IsVisibleProperty, "Sold");
&lt;/pre&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;By the way, it is no problem when use this bind info on Android platform. Please take a look.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I uploaded my sample: &amp;nbsp;&lt;a href="http://www.nsnspei.com/MyInventory_WebApi.7z" target="_blank" style="font-size: 10pt;"&gt;MyInventory.7z&lt;/a&gt;&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Wed, 04 Mar 2015 08:49:04 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Leo,&lt;br&gt;&lt;br&gt;I finally found the problem, actually our Crosslight is always reserve first UIimageView (in table type view) to&amp;nbsp;&lt;br&gt;&lt;/p&gt;&lt;pre&gt;ItemBindingDescription itemBinding = new ItemBindingDescription(){ImageMemberPath = "ImageURL"};&lt;/pre&gt;&lt;p&gt;The reason are it should be better practice to use the member path, i correct my statement sorry, however in case you have more than one image view you can use&amp;nbsp;&lt;br&gt;&lt;/p&gt;&lt;pre&gt;itemBinding.AddBinding("ImageView2", BindableProperties.ImageSourceProperty, "ImageURL");&lt;/pre&gt;&lt;p&gt;ImageView name are reserved for imageMemberPath&lt;br&gt;&lt;br&gt;So, in case you have more than one image view, it is better to have imageMemberPath for the first UIImageVIew then for the later user itemBinding, also "ImageView" name are reserved for imageMemberPath so for other image view please use different name.&lt;br&gt;&lt;br&gt;One more thing i was actually add the URL data inside database &amp;amp; Model not manually from ViewModel, if you add data manually the url will fail to load&lt;br&gt;&lt;br&gt;I attach my sample (need xamarin, intersoft, microsoft async assemblies)&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Tue, 03 Mar 2015 15:40:58 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><description>&lt;p&gt;Hi Arief,&lt;/p&gt;&lt;p&gt;I know the UIImageView can bind to ImageSourceProperty with string by using this.AddBinding method. The issue I pointed out only happens in the item binding and only in the UITableView.&lt;/p&gt;&lt;pre style="-webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline-offset: 0px; white-space: pre-wrap; word-wrap: break-word; color: rgb(63, 63, 63); line-height: 18px; text-rendering: optimizelegibility !important;"&gt;itemBinding.AddBinding("ImageView", BindableProperties.ImageSourceProperty, "ThumbnailImageUrl");&lt;/pre&gt;&lt;div&gt;&lt;pre style="-webkit-font-smoothing: antialiased; margin-top: 0px; margin-bottom: 0px; padding: 0px; border: 0px; outline-offset: 0px; white-space: pre-wrap; word-wrap: break-word; color: rgb(63, 63, 63); line-height: 18px; text-rendering: optimizelegibility !important;"&gt;this.AddBinding("TableView", BindableProperties.ItemsSourceProperty, "Items");
&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;p&gt;Please take a look.&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Tue, 03 Mar 2015 06:02:59 GMT</pubDate><dc:creator>Arief</dc:creator><description>&lt;p&gt;Hi Leo,&lt;br&gt;&lt;br&gt;In IOS ImageSourceProperty can only accept string, yet ImageProperty can only accept byte[]&lt;br&gt;&lt;br&gt;you get that error if bind imageSourceProperty with Byte[], here i have example of using ImageSourceProperty in IOS (need internet to load the picture) (to run dont forget to add crosslight assemblies in packages folder and download Microsoft Async from package manager)&lt;br&gt;&lt;br&gt;For android, it's image view accept both byte[] and string&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Sat, 28 Feb 2015 12:53:34 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><description>&lt;p&gt;Please add support of BindableProperties.ImageSourceProperty.&lt;/p&gt;&lt;p&gt;For now, when I bind an UIImageView to&amp;nbsp;ImageSourceProperty, The "Object reference null" exception will be thrown.&lt;/p&gt;</description></item><item><title>It seems that UIImageView in UITableViewCell does not support ImageSourceProperty on iOS platform</title><link>http://www.intersoftsolutions.com/Community/Crosslight/It-seems-that-UIImageView-in-UITableViewCell-does-not-support-ImageSourceProperty-on-iOS-platform/</link><pubDate>Thu, 26 Feb 2015 13:28:02 GMT</pubDate><dc:creator>hongliyu2002</dc:creator><description>&lt;p&gt;In iOS development, I found when use custom&amp;nbsp;UITableViewCell, it seems that UIImageView in the cell does not support binding to the ImageSourceProperty, It is OK when used in UICollectionView.&lt;/p&gt;&lt;p&gt;Please take a look.&lt;/p&gt;</description></item></channel></rss>