Beispiel #1
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            var view = inflater.Inflate(Resource.Layout.MapLayout, container, false);

            mapFragment = view.FindViewById <MapView>(Resource.Id.map);
            mapFragment.OnCreate(savedInstanceState);
            lastUpdateText = view.FindViewById <TextView>(Resource.Id.UpdateTimeText);
            SetupInfoPane(view);
            flashBar           = new FlashBarController(view);
            streetViewFragment = pane.FindViewById <StreetViewPanoramaView>(Resource.Id.streetViewPanorama);
            streetViewFragment.OnCreate(savedInstanceState);

            return(view);
        }
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            var view = inflater.Inflate(Resource.Layout.MapLayout, container, false);
            mapFragment = view.FindViewById<MapView>(Resource.Id.map);
            mapFragment.OnCreate(savedInstanceState);
            lastUpdateText = view.FindViewById<TextView>(Resource.Id.UpdateTimeText);
            SetupInfoPane(view);
            flashBar = new FlashBarController(view);
            streetViewFragment = pane.FindViewById<StreetViewPanoramaView>(Resource.Id.streetViewPanorama);
            streetViewFragment.OnCreate(savedInstanceState);

            return view;
        }