// Note - The Xamarin.Forms Previewer requires a default, parameterless constructor to render a page.
        public RouteDetailPage()
        {
            InitializeComponent();

            var camp = new Route
            {
                Name = "Route 1"
            };

            viewModel      = new RouteDetailViewModel(camp);
            BindingContext = viewModel;
        }
        // Note - The Xamarin.Forms Previewer requires a default, parameterless constructor to render a page.
        public RouteDetailPage()
        {
            InitializeComponent();

            var route = new Route
            {
                Name = "Route 1"
            };

            viewModel      = new RouteDetailViewModel(route);
            BindingContext = viewModel;
            RouteStopsListView.IsVisible = true;
        }
        public RouteDetailPage(RouteDetailViewModel viewModel)
        {
            InitializeComponent();

            BindingContext = this.viewModel = viewModel;
        }