Example #1
0
        public void OpenNavigation(object sender, EventArgs e)
        {
            RoutePointActiveListViewModel activePoint = this.ViewModel.Points.FirstOrDefault(x => x.Active);

            if (activePoint == null)
            {
                return;
            }

            this.SetFloatingWidget();

            Intent intent = GmapsIntentsProvider.CreatePointIntent(this.Context, activePoint.Point);

            this.StartActivity(intent);
        }
Example #2
0
        private void GmapsNavigationClick(object sender, EventArgs e)
        {
            Intent intent = GmapsIntentsProvider.CreatePointIntent(this.service, currentPoint.Point);

            service.BaseContext.StartActivity(intent);
        }