Bug 33047 - ObservableCollection updates, but ListView does not update
Summary: ObservableCollection updates, but ListView does not update
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.5.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2015-08-13 07:05 UTC by stephen.machwirth
Modified: 2015-08-19 08:26 UTC (History)
5 users (show)

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 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 stephen.machwirth 2015-08-13 07:05:09 UTC
Standard Bindings like text bindings are updating accordingly in the views( via INotifyPropertyChanged), however when the observablecollection which also implements INotifiyPropertyChanged changes it's not triggering the view. 
Note I'm updating the view in the detail section of the MasterDetailPage.
Comment 1 stephen.machwirth 2015-08-13 07:14:22 UTC
Also worth mentioning: I use xaml markup with the binding reference set in xaml not in code.
Comment 2 stephen.machwirth 2015-08-18 09:10:06 UTC
solved by myself
The problem was due to 2 problems:
1. Apparently the method wasn't invoked on the main UIthread for this --> Device.BeginInvokeOnMainThread was the solution
2. en secondly the RaisePropertyChanged(() => Clientsgrouped) conflicted with my own method (onPropertyChanged)for the single bindings aolution for this was using my own method --> OnPropertyChanged("ClientsGrouped")

Thanks for your help anyways! You've set me in the right direction!
Comment 3 Arpit Jha 2015-08-19 08:26:12 UTC
As per comment 2, I am going to close this issue.