void Reload() { InvokeOnMainThread(()=>{ Root = new RootElement ("TaskCloud") { new Section () { from task in tasks orderby task.LocalizedName select (Element) new StringElement (task.TheTask.Title, () =>{ var ts = new TaskScreen(task); NavigationController.PushViewController (ts, true); }) } }; }); }
void Reload() { InvokeOnMainThread(() => { Root = new RootElement("TaskCloud") { new Section() { from task in tasks orderby task.LocalizedName select(Element) new StringElement(task.TheTask.Title, () => { var ts = new TaskScreen(task); NavigationController.PushViewController(ts, true); }) } }; }); }