protected override void OnCreate (Bundle bundle)
		{
			base.OnCreate (bundle);

			var extra = Intent.GetStringExtra ("JsonItem");
			Debug.WriteLine ("extra;" + extra);
			data =  new SObject ((JsonObject) JsonValue.Parse (extra)).As<AccountObject> ();

			ListAdapter = new DetailAdapter (this, data);
		}
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);

            var extra = Intent.GetStringExtra("JsonItem");

            Debug.WriteLine("extra;" + extra);
            data = new SObject((JsonObject)JsonValue.Parse(extra)).As <AccountObject> ();

            ListAdapter = new DetailAdapter(this, data);
        }
Esempio n. 3
0
 public DetailAdapter(Activity activity, AccountObject item)
 {
     context = activity;
     Data    = item;
 }