Bug 60604 - UWP - Can't update view within ViewCell (works fine in iOS)
Summary: UWP - Can't update view within ViewCell (works fine in iOS)
Status: CONFIRMED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.4.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-11-09 21:39 UTC by Joel
Modified: 2017-11-17 18:30 UTC (History)
7 users (show)

Tags: listview, cell, background, ac
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 for Bug 60604 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Joel 2017-11-09 21:39:23 UTC
I'm working on a Xamarin.Forms mobile app, with a page that has a ListView.

I'm trying to access one of the ViewCell's in the ListView, and then update content inside that ViewCell right after the page loads.

In iOS it works fine. But in UWP, I cannot affect any views within a ViewCell.

I've also posted a Stack Overflow question here: https://stackoverflow.com/questions/47166320/xamarin-forms-uwp-cant-update-view-within-viewcell-works-in-ios

I've attached a sample project where the problem is reproduced (again you can see that it works fine in iOS, but not in UWP). Note that the sample project includes a workaround for Xamarin bug #60033 (see https://bugzilla.xamarin.com/show_bug.cgi?id=60033), which is related to the SetupContent() method override. I'm wondering if it has anything to do with that.
Comment 1 Paul DiPietro [MSFT] 2017-11-09 21:49:17 UTC
If you meant to attach a project, there isn't one just yet.
Comment 2 Joel 2017-11-10 13:49:23 UTC
Oops! Thanks for the heads up. Here's a link to the project: https://drive.google.com/open?id=1TptFK0O1hICRofB3QHHvwr-ZZGRxRasU
Comment 3 Joel 2017-11-10 14:03:43 UTC
I'm trying the "paste text as an attachment" feature in order to include the link there, but it's broken - every time I submit it says something like "The attachment is empty..."
Comment 4 Joel 2017-11-10 15:24:09 UTC
Added link to project in comment above - marking as NEW again.
Comment 5 Paul DiPietro [MSFT] 2017-11-10 17:56:23 UTC
This appears to be a different issue unrelated to the SetupContent one.
Comment 6 Andrew 2017-11-13 16:03:07 UTC
Hi Paul -

Is there a work around for this item as well?
Comment 7 E.Z. Hart [MSFT] 2017-11-17 18:30:26 UTC
The Issue935 UI Test in Control Gallery also reproduces this issue.