Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GlobeKeyReplacement
private static List<AlphaKeyGroup<PhoneContact>> CreateGroups(SortedLocaleGrouping slg)
{
var list = new List<AlphaKeyGroup<PhoneContact>>();
foreach (string key in slg.GroupDisplayNames)
{
var k = key;
if (key == "...")
{
k = "🌐"; // &#x1F310;
}
list.Add(new AlphaKeyGroup<PhoneContact>(k));
}
return list;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.