XamarinFileChooser 1.2.0

A binding of android-file-chooser by hedzr

Install-Package XamarinFileChooser -Version 1.2.0
dotnet add package XamarinFileChooser --version 1.2.0
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 :star:!
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

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 :star:!
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

Release Notes

Release 1.2.0

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.0 71 6/17/2019
1.1.19 98 4/29/2019
1.1.17 92 3/27/2019
1.1.16 92 3/4/2019