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 for Bug 58028 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
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 23421 [details]
Sample that reproduces the bug
The first replaced entry is turned into a blank space, this only seems to happen when the page that includes the ListView is inside a NavigationPage and the replacement occurs while the root page is not the current one.
The attached sample should reproduce the bug.
I can reproduce this issue with the attached project. As mentioned, this is happening when the list item is replaced while on another page and only on first time. Subsequently replacing the other list items will work without issue.
This might be threading issue because using Device.BeginInvokeOnMainThread() appears to resolve the issue. So a possible workaround in the meantime is to do
> Device.BeginInvokeOnMainThread(() => _viewModel.DataSource[index] = "REPLACED");
### Steps to Reproduce
1. Run UWP project
2. Right click a list item
3. Select "Replace"
### Expected Results
The list item will change to show "REPLACED". Repeat steps 2 and 3 above again on another item to see this result.
#### Actual Results
The item becomes blank.
### Version Tests