Exemple #1
0
 /*
  * notif
  */
 public void Notify(object obj, string type)
 {
     if (type.Equals(DevelopersBusiness.NOTIFY_KEY))
     {
         this.Intent.PutExtra(KEY_EXTRA_DEVELOPERS, new Java.Util.ArrayList((List <Developer>)obj));
         projectBusiness.GetListProjects();
     }
     else if (type.Equals(ProjectBusiness.NOTIFY_KEY))
     {
         this.Intent.PutExtra(KEY_EXTRA_PROJECTS, new Java.Util.ArrayList((List <Project>)obj));
         progressDialog.Dismiss();
         InitViewPager(this.vpPrincipal);
     }
     else
     {
         progressDialog.Dismiss();
         Toast.MakeText(this, obj.ToString(), ToastLength.Short).Show();
     }
 }