Esempio n. 1
0
        public override async void OnDisappearing()
        {
            base.OnDisappearing();

            locationManager.RemoveLocationListener(this);

            if (DetailsRoute.IsRouteFinished())
            {
                await DetailsRoute.ResetRoute();
            }

            nearbyExhibitManager.ExhibitVisitedEvent -= ExhibitVisited;
        }
        /// <summary>
        /// Called when the view was removed from the visual tree.
        /// </summary>
        public override void OnDisappearing()
        {
            base.OnDisappearing();

            locationManager.RemoveLocationListener(this);
        }
        public override void OnHidden()
        {
            base.OnHidden();

            locationManager.RemoveLocationListener(this);
        }