public SpotAndTracks(NavigationPage topNavigationPage, Spot spot)
        {
            _topNavigationPage = topNavigationPage;

            InitializeComponent();
            SpotAndTracksViewModel viewModel = new SpotAndTracksViewModel(spot);
            BindingContext = viewModel;

            CurrentTracksListView.ItemsSource = spot.TracksCurrent;
            CurrentTracksListView.ItemSelected += (sender, e) => OnTrackSelected(sender, e, CurrentTracksListView);

            OldTracksListView.ItemsSource = spot.TracksOld;
            OldTracksListView.ItemSelected += (sender, e) => OnTrackSelected(sender, e, OldTracksListView);
        }
 public SpotAndTracksViewModel(Spot spot)
 {
     _id = spot.Id.ToString();
     _name = spot.Name;
     _tags = string.Join("\n", spot.Tags);
 }