public void GetData(Action<DataItem, Exception> callback) { // Use this to connect to the actual data service var item = new DataItem("Welcome to MVVM Light"); callback(item, null); }
public void GetData(Action<DataItem, Exception> callback) { // Use this to create design time data var item = new DataItem("Welcome to MVVM Light [design]"); callback(item, null); }
private void _initializeData(DataItem item) { // Title Title = Version.APP_NAME; // WelcomeTitle WelcomeTitle = item.Title; // FirstGeneration var first_path = item.FirstGeneration.First<string>(); _folderChange(first_path); // EditText EditText = ""; EditHtml = ""; // IsEnabled_EditText IsEnabledEditText = false; }