Example #1
0
		void HandleAroundItemClick (object sender, AdapterView.ItemClickEventArgs e)
		{
			if (mapFragment != null) {
				drawer.CloseDrawers ();
				mapFragment.CenterAndOpenStationOnMap (e.Id,
				                                       zoom: 17,
				                                       animDurationID: Android.Resource.Integer.ConfigLongAnimTime);
			}
		}
        internal void SwitchToMapAndShowStationWithId(long id)
        {
            SwitchToSectionPosition(0);
            SupportActionBar.Title = mapFragment.Title;
            var animDuration = Android.Resource.Integer.ConfigLongAnimTime;

            mapFragment.CenterAndOpenStationOnMap(id, zoom: 17, animDurationID: animDuration);
        }