Hey folks, just wanted to let you all know that I've open sourced my Material Entry and AutoComplete (called ComboBox) today. Take a look and use it if you like.
note: only for Android and iOS at the moment
note: Android requires an AppCompat Theme
> Install-Package xfx.controls
The repo can be found on github
<xfx:XfxEntry Placeholder="Enter your name"
Text="{Binding Name}"
ErrorText="{Binding NameErrorText}" />
<xfx:XfxComboBox Placeholder="Enter your email address"
Text="{Binding EmailAddress}"
ItemsSource="{Binding EmailSuggestions}"
SortingAlgorithm="{Binding SortingAlgorithm}"/>
// here's an example of how to do the SortingAlgorithm
public class MyViewModel : INotifyPropertyChanged
{
public Func<string, ICollection<string>, ICollection<string>> SortingAlgorithm { get; } = (text, values) => values
.Where(x => x.ToLower().StartsWith(text.ToLower()))
.OrderBy(x => x)
.ToList();
}