Skip to content
This repository has been archived by the owner on Jun 9, 2024. It is now read-only.

FANMixco/xamarin-search-dialog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xamarin-search-dialog

Android Search Dialog Library

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, SearchableDishes, "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();
	}
}

Download

Package Latest Release
Xamarin.Search.Dialog NuGet Badge Xamarin.Search.Dialog

Follow me at:

LinkedIn YouTube Amazon Goodreads Instagram Cyber Prophets Sharing Your Stories
LinkedIn YouTube Amazon Goodreads Instagram RedCircle Podcast RedCircle Podcast