Example #1
0
 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);
                 })
             }
         };
     });
 }
Example #2
0
 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);
                 })
             }
         };
     });
 }