public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            View view = inflater.Inflate(Resource.Layout.fragment_account, container, false);

            logOutBtn        = (LinearLayout)view.FindViewById(Resource.Id.logOutBtn);
            logOutBtn.Click += delegate { LogOut(); };

            presenter = new AccountPresenter(new NavigationService(this.Activity.Application));
            presenter.SetView(this);

            return(view);
        }
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            View view = inflater.Inflate(Resource.Layout.fragment_account, container, false);

            textFullName     = view.FindViewById <TextView>(Resource.Id.textFullname);
            textEmail        = view.FindViewById <TextView>(Resource.Id.textEmail);
            logOutBtn        = view.FindViewById <LinearLayout>(Resource.Id.logOutBtn);
            logOutBtn.Click += delegate { LogOut(); };

            presenter = new AccountPresenter(new NavigationService(this.Activity.Application));
            presenter.SetView(this);
            presenter.GetProfile();

            //HealthInfor health = new HealthInfor("DDD", 1, 1, 1, "a", "a", 1, 1, 1, 1, 1);
            //presenter.UpdateHealthInfor(health);
            //presenter.GetHealthInformation();

            return(view);
        }