c# - Callback using ObservableObject with a Collection on windows phone Viewmodels -
i've issue in code i'm writing attempting use observableobject
within databinding when using list of items. have model view when binding single observableobject
fine, when bind list
of observableobject
stops working when update 1 items.
so have following;
public class songviewmodel : observableobject
and in separate class;
public class albumviewmodel { observablecollection<songviewmodel> _songs = new observablecollection<songviewmodel>();
binding longlistselection
uses songviewmodel
data source working ok, bind albumviewmodel
update callback stops working , ui isn't updated.
i've created small windows phone 8 solution demonstrate issue:
Comments
Post a Comment