XamarinFileChooser 1.2.0

dotnet add package XamarinFileChooser --version 1.2.0
NuGet\Install-Package XamarinFileChooser -Version 1.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XamarinFileChooser" Version="1.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add XamarinFileChooser --version 1.2.0
#r "nuget: XamarinFileChooser, 1.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install XamarinFileChooser as a Cake Addin
#addin nuget:?package=XamarinFileChooser&version=1.2.0

// Install XamarinFileChooser as a Cake Tool
#tool nuget:?package=XamarinFileChooser&version=1.2.0

xamarin-file-chooser binding of android-file-chooser

banner

NuGet

NuGet

android-file-chooser

Android Arsenal Download Release

Snapshots

<table><tr><td> <img src="https://raw.githubusercontent.com/hedzr/android-file-chooser/master/captures/choose_file.png" width="360"/> </td><td> <img src="https://raw.githubusercontent.com/hedzr/android-file-chooser/master/captures/choose_folder.png" width="360"/> </td><td> <img src="https://user-images.githubusercontent.com/27736965/55721190-c0616e80-5a13-11e9-982e-6fa1431be8ed.gif" width="360"/> </td></tr> <tr align="center"> <img src="https://user-images.githubusercontent.com/27736965/55720938-1b469600-5a13-11e9-8953-70cf86f4af11.gif" width="1080"/> </tr> </table>

More images (beyond v1.1.16) can be found at Gallery

Demo Application

A demo-app of the original can be installed from Play Store.

<a href='https://play.google.com/store/apps/details?id=com.obsez.android.lib.filechooser.demo&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' width='240' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/></a>

Usage

using Com.Obsez.Android.Lib.Filechooser;
using static Com.Obsez.Android.Lib.Filechooser.Listeners;

ChooserDialog chooserDialog = new ChooserDialog(context)
    .WithStringResources(dirOnly.isChecked() ? "Choose a folder" : "Choose a file",
    	"Choose", "Cancel")
    .WithOptionStringResources("New folder",
    	"Delete", "Cancel", "Ok")
    .EnableOptions(true)
    .DisplayPath(true)
    .WithChosenListener((dir, dirFile) =>
    {
        if (continueFromLast.Checked)
        {
            _path = dir;
        }
        Toast.MakeText(ctx, (dirFile.IsDirectory ? "FOLDER: " : "FILE: ") + dir, ToastLength.Short).Show();
    })
    .Show();

For more information please refere to the original repo, and don't forget to give it a ⭐!
Logo and banner originally by: iqbalhood

Licence

Standard Apache 2.0

Copyright 2015-2019 Hedzr Yeh
Modified 2018-2019 Guiorgy

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

android-file-chooser by hedzr

Product Compatible and additional computed target framework versions.
MonoAndroid monoandroid403 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 789 6/17/2019
1.1.19 531 4/29/2019
1.1.17 540 3/27/2019
1.1.16 545 3/4/2019

Release 1.2.0