Exemplo n.º 1
0
        void Handle_ItemSelected(object sender, Xamarin.Forms.SelectedItemChangedEventArgs e)
        {
            var item = e.SelectedItem as Folder;
            var page = new FilesPage(item.Path)
            {
                Title = item.Name
            };

            Navigation.PushAsync(page);
        }
Exemplo n.º 2
0
        void Handle_ItemSelected(object sender, Xamarin.Forms.SelectedItemChangedEventArgs e)
        {
            var item = e.SelectedItem as MainPageDetailItem;

            if (item == null)
            {
                return;
            }
            var page = new FilesPage(item.Action);

            page.Title = item.Title;
            Navigation.PushAsync(page);

            ListFolders.SelectedItem = null;
        }