public void GetData(Action<DataItem, Exception> callback) { // Use this to create design time data var item = new DataItem("A\r\nB\r\nC\r\nD\r\nE"); callback(item, null); }
public void GetData(Action<DataItem, Exception> callback) { // Use this to connect to the actual data service var item = new DataItem("Welcome to MVVM Light"); item.InitialNumberOfItems = 2; callback(item, null); }