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);
		}
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public DetailAdapter(Activity activity, AccountObject item)
 {
     context = activity;
     Data    = item;
 }