Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Using MessagingCenter to add a new ViewCell to TablieViews current TableSection. This renders as expected in iOS8, but not in iOS7. I originally discovered this bug not using MessagingCenter and thought using the MessagingCenter would be a workaround.
In iOS7, the TableView initially renders, but items added to the TableView will not render.
In iOS8, the TableView initially renders and items added to the TableView render.
Steps to Reproduce:
Create content page with TableView and button. Content Page is created in a NavigationPage in App.cs
Wire button to push a new content Page with a ListView of objects.
On ItemSelect of the ListView, pass the selected item into a new ViewCell that is added to the TableSection of the TableView.
This happens when using both a MessagingCenter and when you pass the TableSection into the new ContentPage then add it prior to popping the view. Bug is only displayed in iOS7 and 7.1, but TableView functions as expected in iOS8.
Actual Results (iOS7):
App pops the Page containing the ListView and returns to the initial TableView, but the SelectedItem is not added to the TableView.
Actual Results (iOS8):
App pops the Page containing the ListView once an item is selected. The selected item is added to the TableView as expected.
Expected Results (both iOS7 and iOS8):
Once an item is selected from the ListView, the view pops and the TableView is populated with the new ViewCell.
I have attached the sample project of the bug. I was able to recreate the bug on simulator and on device.
Using Xamarin Forms 188.8.131.5257
Using Xamarin Studio 5.6.2 (build 5)
Mac OSX 10.9.5
Created attachment 8623 [details]
Sample Project with Bug
I have checked this issue and observed the following behavior.
Please confirmed me that is this the same issue/behavior experiencing you as shown in the screencast.
On iOS 8: I observed that , The TableView initially renders. App pops the Page containing the ListView and returns to the initial TableView, I am able to add items to the TableView. TableView initially renders and items added to the TableView render.
On iOS 7: I observed that, The TableView initially renders. App pops the Page containing the ListView and returns to the initial TableView, but I an not able to add items to the TableView.
Steps I Followed:
1. Open attached attached sample in XS.
2. Build and deploy the application on iOS 8 simulator.
3. Click on "Add Hop" in bottom,
4. New page appear, click on "Xamarin_Forms_TableView.TestObj"
5. Test page will appear enter some text in textbooks click "Add Hop"
6. Click again on "Xamarin_Forms_TableView.TestObj"
7. Observe that items is added to the view as expected.
Screencast (iOS 8): http://www.screencast.com/t/w7pqmX60
Screencast (iOS 7): http://www.screencast.com/t/RkJizopoO3o
App O/P (iOS 7): https://gist.github.com/Rajneesh360Logica/c847b6a74930aa8e0b02
Additional Information: Getting same behavior on device in both case (iOS 8, iOS 7.1).
=== Xamarin Studio ===
Version 5.5.3 (build 6)
Installation UUID: 011d70a5-dede-428b-ab04-ef451c2e539d
Mono 3.10.0 ((detached/e204655)
GTK+ 2.24.23 (Raleigh theme)
Package version: 310000023
=== Xamarin.Android ===
Version: 4.18.1 (Business 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)
=== Apple Developer Tools ===
Xcode 5.1 (5084)
=== Xamarin.iOS ===
Version: 184.108.40.206 (Business Edition)
Build date: 2014-10-22 15:09:12-0400
=== Xamarin.Mac ===
Version: 220.127.116.11 (Business Edition)
=== Build Information ===
Release ID: 505030006
Git revision: fbe3e9453daf6a3bb9a9709ed22bec35f7c9056b
Build date: 2014-10-23 13:08:38-04
Xamarin addins: e44add2b39de4dd57c0742bb2e620dfad84c64c6
=== Operating System ===
Mac OS X 10.9.5
Darwin MacMini.local 13.4.0 Darwin Kernel Version 13.4.0
Sun Aug 17 19:50:11 PDT 2014
This is the same issue/behavior i have been experiencing as shown in the screencast.
Thanks for the confirmation.
I am changing the status of this issue needinfo to confirmed as per comment 3.
I was also able to confirm this is happening with Android as well. You can use the same project solution to confirm the Android behavior.
I try to reproduce this issue with Android but on deploying the application I am getting the following exception: "System.TypeLoadException"
Application Output: https://gist.github.com/Rajneesh360Logica/c658c41447a5f9ae96ef
I just looked into it, You need to update Xamarin.Forms package in the Android Project. I was able to compile and run the solution on Android afterwards. I am experiencing the same behavior experiences on iOS7.
@ Michael , Thanks a lot again.
I have checked issue after updating Xamarin.Forms package in the Android Project, now I am able to reproduce the same behavior on android as on iOS 7.
An update to comment 8
Here is the screencast for behavior on android.
Yup, that is exactly what I have experienced.
I have confirmed this issue using the project provided (referencing 1.2.3). After updating to latest stable (1.4.2), the issue appears to be resolved.