XamarinFileChooser 1.1.17
See the version list below for details.
dotnet add package XamarinFileChooser --version 1.1.17
NuGet\Install-Package XamarinFileChooser -Version 1.1.17
<PackageReference Include="XamarinFileChooser" Version="1.1.17" />
paket add XamarinFileChooser --version 1.1.17
#r "nuget: XamarinFileChooser, 1.1.17"
// Install XamarinFileChooser as a Cake Addin #addin nuget:?package=XamarinFileChooser&version=1.1.17 // Install XamarinFileChooser as a Cake Tool #tool nuget:?package=XamarinFileChooser&version=1.1.17
xamarin-file-chooser binding of android-file-chooser 1.1.16
NuGet
android-file-chooser
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/53578348-f1d35880-3b90-11e9-9ef4-7ed0276ca603.gif" width="360"/> </td></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)
.WithResources(dirOnly.Checked ? Resource.String.title_choose_folder : Resource.String.title_choose_file,
Resource.String.title_choose, Resource.String.dialog_cancel)
.EnableOptions(true)
.DisplayPath(true)
.WithChosenListener((dir, dirFile) =>
{
if (continueFromLast.Checked)
{
_path = dir;
}
Toast.MakeText(ctx, (dirFile.IsDirectory ? "FOLDER: " : "FILE: ") + dir, ToastLength.Short).Show();
})
.Build().Show();
For more information please refere to the original repo, and don't forget to give it a ⭐!
Licence
Standard Apache 2.0
Copyright 2015-2019 Hedzr Yeh
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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
MonoAndroid | monoandroid403 is compatible. |
-
- Xamarin.Android.Support.v7.AppCompat (>= 28.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Release 1.1.17