public void Reload() { Console.WriteLine ("Reload MonoTouch.Dialog"); InvokeOnMainThread(()=>{ Root = new RootElement ("TaskyAzure") { new Section () { from task in tasks orderby task.Title select (Element) new StringElement (task.Title, () =>{ var ts = new TaskScreen(task); NavigationController.PushViewController (ts, true); }) } }; }); }
public void Reload() { Console.WriteLine("Reload MonoTouch.Dialog"); InvokeOnMainThread(() => { Root = new RootElement("TaskyAzure") { new Section() { from task in tasks orderby task.Title select(Element) new StringElement(task.Title, () => { var ts = new TaskScreen(task); NavigationController.PushViewController(ts, true); }) } }; }); }