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); }
private void GmapsNavigationClick(object sender, EventArgs e) { Intent intent = GmapsIntentsProvider.CreatePointIntent(this.service, currentPoint.Point); service.BaseContext.StartActivity(intent); }