예제 #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.product);
            // Create your application here
            listView = FindViewById <ListView>(Resource.Id.lstProducts);

            GetProd restau = new GetProd();

            restau.Execute();
            intent = new Intent(this, typeof(cartActivity));

            email    = Intent.GetStringExtra("email");
            password = Intent.GetStringExtra("password");
        }
예제 #2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            SetContentView(Resource.Layout.Products);

            listViewprod = FindViewById <ListView>(Resource.Id.listView2);
            GetProd prod = new GetProd();

            prod.Execute();
            //intenti = new Intent(this, typeof(ShoppingCartActivity));

            intenti = new Intent(this, typeof(ShoppingCartActivity));



            // search = FindViewById<SearchView>(Resource.Id.searchView4);

            //listViewprod.ItemClick += ListView_ItemClick;
        }