The ListViewGroup.Header is never assigned to so it will never be true in the if statement where you add items:
ListViewGroup liViGroup = new ListViewGroup();
liViGroup.HeaderAlignment = System.Windows.Forms.HorizontalAlignment.Center;
if (liViGroup.Header == "Starter")
{
liViGroup.Items.Add(line1);