예제 #1
0
        async public override System.Threading.Tasks.Task BtnMapFragmentClickAsync ()
        {


            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));

            await _fragmentState.BtnMapFragmentClickAsync ();
        }
예제 #2
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 ();

		}
예제 #3
0
        public GoogleMapFragment( MainActivity activity,   BusinessLayer.Person person, StateFragmentMap stateFragmentMap )
        {
            this.layoutId = UI.Resource.Layout.FrgMap;
            _person = person;
            _activity = activity;
            _stateFragmentMap = stateFragmentMap;

        }
예제 #4
0
        public GoogleMapFragment(int layoutId, MainActivity activity,   BusinessLayer.Person person, StateFragmentMap stateFragmentMap)
        {
            this.layoutId = layoutId;
            _person = person;
            _activity = activity;
            _stateFragmentMap = stateFragmentMap;

        }
        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 ();


        }