Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using Xamarin.Forms;
- namespace ListViewDemoVS
- {
- // This class contains the group-by key and a collection of items
- class Group : List<ListItem>
- {
- public String Key { get; private set; }
- public Group(String key, List<ListItem> items)
- {
- Key = key;
- foreach (var item in items)
- {
- this.Add(item);
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment