public UploadImagePage()
        {
            InitializeComponent();
            Title = Constants.AppUploadTitle;
            DateTimeEntry.Text    = DateTime.Now.ToString();
            UploadButton.Clicked += async delegate
            {
                if (string.IsNullOrEmpty(TittleEntry.Text))
                {
                    await DisplayAlert(Constants.AppTitle, Constants.TitleRequired, Constants.Ok);

                    return;
                }
                var gallery = new GalleryClass
                {
                    Title   = TittleEntry.Text,
                    Path    = _filePath,
                    Created = DateTime.Now
                };
                Constants.GalleryCollection.Add(gallery);
                await App.NavigationRef.PopAsync();
            };
            BrowseButton.Clicked += delegate
            {
                PickImage();
            };
        }
 private void OnParentTapped(GalleryClass item)
 {
     Application.Current.MainPage.DisplayAlert(Constants.AppTitle, "Selected " + item.Title, "Ok");
 }