コード例 #1
0
 private void DialogViewPlan(ORM.Plan plan)
 {
     if (plan != null)
     {
         FragmentTransaction    transaction = Activity.FragmentManager.BeginTransaction();
         Helpers.DialogViewPlan dialog      = new Helpers.DialogViewPlan(Activity, plan);
         dialog.Show(transaction, "dialog");
         dialog.OnDelete += delegate
         {
             Adapter          = new Adapters.Plan(mContext, dbr.GetPlans());
             listView.Adapter = Adapter;
         };
         dialog.OnSave += delegate
         {
             Adapter          = new Adapters.Plan(mContext, dbr.GetPlans());
             listView.Adapter = Adapter;
         };
     }
 }
コード例 #2
0
 public OnSelectedEventArgs(ORM.Plan plan)
 {
     Plan = plan;
 }