Bug 23159 - Image tag with Source Binded in a ListView, causes the whole ListView not to Render in Real devices
Summary: Image tag with Source Binded in a ListView, causes the whole ListView not to ...
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.2.2
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2014-09-18 14:35 UTC by a179164
Modified: 2016-03-16 12:40 UTC (History)
5 users (show)

Is this bug a regression?: ---
Last known good build:

ListView not rendered in my app on a real device screenshot:( (145.87 KB, image/png)
2014-09-18 14:36 UTC, a179164

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 a179164 2014-09-18 14:35:48 UTC

I thought at first that this might be something I was doing wrong and posted this on the Xamarin Forums:


However, after spending a LOT of time debugging and having my code reviewed by a Xamarin University Instructor, I am almost sure this is a bug, however, it is a very odd one.

If I run this project https://github.com/g3r4/Axai-app-XamarinForms on a real device, (I've tested on a real iPhone 5c and iPad mini) the ListView does not render (all I get are gray lines), the only way I've found to render it on a real device, is rotating it to landscape, at this moment the ListView renders, and if I rotate back to portrait, the ListView stays rendered.

I've tried everything in my knowledge to try and solve this issue, moving the code where I Bind the context, writing custom renderers in order to reload the data from the ListView, changing layouts, etc., but nothing works.

If I remove the <Image> inside the <ViewCell> from the MembersPage.xaml the text in the list renders OK, If I set the image to a Static Resource in my project (lets say an icon) the ListView Renders OK, If I set the image to a fixed remote resource like an image on the internet, the ListView renders OK.

If you run this project in the iOS simulator, the ListView renders OK and everything works very good, this issue only affects real devices, and it was working OK before I updated the Xamarin.Forms package from 1.0.6186, to Xamarin.Forms

Another thing to note is that if I try to debug the application using Xamarin Studio on the real deice, specifically on the MembersPage.xaml.cs and put a breakpoint on line 26. I cannot see any of the variables on the Watch window, variables like the mbmbersViewModelObject or the BindingContext, however, if I debug it on the iOS simulator, I can debug everything perfectly (the app settings on the real device are well configured to debug it).

Steps to Reproduce: 

1) Clone the code in https://github.com/g3r4/Axai-app-XamarinForms
2) Deploy the Debug Version to a real device (I've tested this on an iPhone 5c and an iPad mini)

Actual Results: 
The list view does not render (I've attached an image with the result I am getting).

Expected Results: 
The ListView should Render OK, like it does on the Simulator or before I updated the Xamarin.Forms package

Build Date & Platform: 

-September 10th 2014
-Xamarin Studio 5.3(build 441)
-Xamarin.Forms (

Additional Builds and Platforms: Whether or not the bug takes place on other
platforms (or browsers, if applicable).

Comment 1 a179164 2014-09-18 14:36:47 UTC
Created attachment 8109 [details]
ListView not rendered in my app on a real device screenshot:(
Comment 2 Sadik Ali 2014-09-19 04:43:52 UTC
I have checked this issue and able to reproduce. To reproduce this issue I have followed the steps and instructions provided in bug description.

Steps I have followed:

1. Download the attached sample project, open project in XS
2. Set iOS as startup project
3. Run the application and deploy it on "Simulator"
4. Observe that the 'ListView' rendered properly and working fine
5. Run the application and deploy it on "Device"
6. Observe that the 'ListView' does't render and showing gray lines
7. Rotate device in 'Landscape' mode, Observe that the 'ListView' rendered properly and working fine
8. Again rotate back to 'Portrait' , Observed that the ListView stays rendered.

I observed that when we deploy application on device it deploy successfully but ListView does't render, and if we rotate device to 'landscape' mode the ListView rendered properly, I also observed that we again rotate from landscape to Portrait, ListView stays rendered. On simulator its working fine please refer the screencast.

Screencast: http://www.screencast.com/t/oL1m7QiSFXTQ

Device Pic (iOS):  http://www.screencast.com/t/eeoNzQpTK

Environment Info:

=== Xamarin Studio ===

Xamarin.Forms (

Version 5.3 (build 441)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
	Mono 3.8.0 ((no/45d0ba1)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 308000009

=== Apple Developer Tools ===

Xcode 5.1 (5084)
Build 5B130a

=== Xamarin.Mac ===

Version: (Enterprise Edition)

=== Xamarin.Android ===

Version: 4.16.0 (Enterprise Edition)
Android SDK: /Users/MM/Desktop/android-sdk-macosx
	Supported Android versions:
		2.1    (API level 7)
		2.2    (API level 8)
		2.3    (API level 10)
		3.1    (API level 12)
		3.2    (API level 13)
		4.0    (API level 14)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		4.5    (API level 21)
Java SDK: /usr
java version "1.7.0_65"
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

=== Xamarin.iOS ===

Version: (Enterprise Edition)
Hash: 77efa3f
Build date: 2014-08-26 07:59:55-0400

=== Build Information ===

Release ID: 503000441
Git revision: befb6aa1176d37a5f678f4274f340a0159091b7a
Build date: 2014-09-08 17:57:02-04
Xamarin addins: 6dc7c388e31fdfc8014689839d37de0d4622435c

=== Operating System ===

Mac OS X 10.9.4
Darwin MacMini.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
Comment 3 a179164 2014-09-22 13:32:08 UTC

I've updated my Xcode to version 6.0.1 (6A317) and deployed to a real device using iOS 7.1 and the ListView did not render, after that test, I updated to iOS 8.0 on my iPhone 5c and the ListView rendered well !

It looks like it is an specific Xamarin.Forms compatibility issue with iOS 7, I haven't tested this on previous iOS versions.
Comment 4 Jason Smith [MSFT] 2014-09-23 04:44:48 UTC
Im sorry can you give me a little bit of guidance where I can find the correct page/controls in your app. It really helps to not have to bumble through the app too much.

If you REALLY want to help it would be awesome if you could make a single ContentPage which displays the issue on its own without the rest of your app. This helps us narrow down the cause and allows us to embed this into a reproduction suite.
Comment 5 a179164 2014-10-02 14:12:26 UTC
Jason I am very sorry, I had not seen your response until now, do you still need me to create an app with only that issue shown? You should see the problem right away, as soon as you open the app (you can take a look at the screenshots as well), you do not need to navigate around it.

However, if you need me to create a new app, I can, and I gladly will to help you narrow down this problem.

Regards !
Comment 6 Rui Marinho 2015-05-29 18:13:55 UTC
Thank you for taking the time to submit the bug. We tried to reproduce the issue you reported but were unable given the description. If you could please attach a reproduction to the bug by starting with a clean Xamarin.Forms project and adding just the code necessary to demonstrate the issue we would very much appreciate it. We monitor recently touched NEEDS INFO bugs so we’ll notice you attached the reproduction we’ll take it from there. 

Warm regards,
Xamarin Forms Team
Comment 7 Jason Smith [MSFT] 2016-03-16 12:40:25 UTC
Thank you for taking the time to submit this report. After reviewing the description of this bug, we no longer believe it affects the current version of Xamarin.Forms. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.
For your convenience, we have created some reproduction best practices viewable here: https://gist.github.com/jassmith/92405c300e54a01dcc6d

Warm regards,
Xamarin Forms Team