Blog coding and discussion of coding about JavaScript, PHP, CGI, general web building etc.

Friday, September 9, 2016

ObservableCollection not updating item source

ObservableCollection not updating item source


I have an observable collection which is being populated from a networking thread. If a populate the OC from the constructor with dummy data it shows up on the UI. I know that the items are being added to the collection from the network thread but the Items count never updates on the UI.

My view model is as follows:

public class ManikinStatusViewModel : DiViewModelBase  {      private readonly ICommunicationService manikinCommunicationService;        #region Properties      public ObservableCollection Manikins { get; private set; }      

0 comments:

Post a Comment

Popular Posts

Powered by Blogger.