public Lugares()
        {
            var databasePath = DependencyService.Get <IFileHelper> ().GetLocalFilePath("database.db3");

            //Inicializa el view model
            viewModel = new PlaceViewModel(databasePath);


            list             = new ListView();
            list.ItemsSource = viewModel.Get();

            //Definiendo el estilo
            var template = new DataTemplate(typeof(ImageCell));

            template.SetBinding(TextCell.TextProperty, "Name");
            template.SetBinding(TextCell.DetailProperty, "FormatedAddress");
            list.ItemTemplate = template;
            Content           = list;

            list.ItemTapped += List_ItemTapped;

            Title = "Lugares";
        }
        public DetalleLugar(Place data)
        {
            var databasePath = DependencyService.Get <IFileHelper> ().GetLocalFilePath("database.db3");

            viewModel = new PlaceViewModel(databasePath);

            Data = data;
            BindData();
            //Interfaz
            var interfaz = new StackLayout()
            {
                Padding = 20
            };

            interfaz.Children.Add(
                new StackLayout {
                Children =
                {
                    new Label {
                        Text = "Nombre"
                    },
                    Name
                },
                Orientation = StackOrientation.Horizontal,
            });
            interfaz.Children.Add(
                new StackLayout {
                Children =
                {
                    new Label {
                        Text = "Dirección", HorizontalOptions = LayoutOptions.StartAndExpand
                    },
                    FormatedAddress
                },
                Orientation = StackOrientation.Horizontal,
            });
            interfaz.Children.Add(
                new StackLayout {
                Children =
                {
                    new Label {
                        Text = "Latitude"
                    },
                    Latitude
                },
                Orientation = StackOrientation.Horizontal,
            });
            interfaz.Children.Add(
                new StackLayout {
                Children =
                {
                    new Label {
                        Text = "Longitude"
                    },
                    Longitude
                },
                Orientation = StackOrientation.Horizontal,
            });

            interfaz.Children.Add(
                new StackLayout {
                Children =
                {
                    btnCancel,
                    btnSave
                },
                HorizontalOptions = LayoutOptions.Center,
                Orientation       = StackOrientation.Horizontal,
            });

            Content = interfaz;


            btnCancel.Clicked += BtnCancel_Clicked;
            btnSave.Clicked   += BtnSave_Clicked;
        }