Ejemplo n.º 1
0
        public override void BtnMapFragmentClick()
		{
			if (_fragmentState.GetType () == typeof(StateFragmentMap))
				return;

			if (MainActivity.User.NetworkStatus == DataAccessLayer.NetworkState.Disconnected)
				return;

            _fragmentState = new StateFragmentMap (this._mainActivity, this , new PermissionBundle(false,false, false ,false,false));

			_fragmentState.BtnMapFragmentClick ();

		}
Ejemplo n.º 2
0
        public override void BtnMapFragmentClick(ref CustomUITableViewController viewController)
        {
            if (_fragmentState.GetType () == typeof(StateFragmentMap))
                return;

            // Configure the buttons
            if (Application._user.NetworkStatus == DataAccessLayer.NetworkState.Disconnected)
                _vcDetails.ConfigureMenuButton(false);
            else
            {
                _vcDetails.ConfigureMenuButton(false);
                _vcDetails.CreateMenuButton();
            }

            if  (Application._user.NetworkStatus == DataAccessLayer.NetworkState.Disconnected)
                return;

            _viewController = viewController;
            _fragmentState = new StateFragmentMap (_vcDetails,  _viewController,  Application._user, this);

            _fragmentState.BtnMapFragmentClick ();


        }