Xamarin.Search.Dialog
1.1.1
dotnet add package Xamarin.Search.Dialog --version 1.1.1
NuGet\Install-Package Xamarin.Search.Dialog -Version 1.1.1
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="Xamarin.Search.Dialog" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.Search.Dialog --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xamarin.Search.Dialog, 1.1.1"
#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 Xamarin.Search.Dialog as a Cake Addin #addin nuget:?package=Xamarin.Search.Dialog&version=1.1.1 // Install Xamarin.Search.Dialog as a Cake Tool #tool nuget:?package=Xamarin.Search.Dialog&version=1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Example:
var searchListItems = new List<SearchListItem>();
searchListItems.Add(new SearchListItem(1, "Tomatoes"));
searchListItems.Add(new SearchListItem(2, "Potatoes"));
searchListItems.Add(new SearchListItem(3, "Chili"));
//Context, List to display and Title
var searchableDialog = new SearchableDialog(this, searchListItems, "Search");
searchableDialog.OnSearchItemSelected = new SearchItemSelected();
searchableDialog.Show();
public class SearchItemSelected : Java.Lang.Object, IOnSearchItemSelected
{
public void OnClick(int p0, SearchListItem p1)
{
Toast.MakeText(this, p1.Title, ToastLength.Long).Show();
}
}
Follow me at:
YouTube | Amazon | Goodreads | Cyber Prophets | Sharing Your Stories | ||
---|---|---|---|---|---|---|
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-android was computed. net7.0-android was computed. net8.0-android was computed. |
MonoAndroid | monoandroid is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
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.1.1 | 619 | 6/16/2019 |
Added Spanish translations and set default black color for the textbox.