Example #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            presenter = AppDelegate.Resolve <IMealListPresenter>();

            presenter.ViewDidLoad(this);

            btnService.TouchUpInside += BtnService_TouchUpInside;
            presenter.SearchMeals("a");

            // Perform any additional setup after loading the view, typically from a nib.
        }
Example #2
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            SetContentView(Resource.Layout.activity_meal_list);
            text_meal = FindViewById <TextView>(Resource.Id.text_meal);
            presenter = MealApp.Resolve <IMealListPresenter>();
            presenter.ViewDidLoad(this);
            presenter.SearchMeals("a");
            text_meal.Click += Text_meal_Click;

            // Create your application here
        }