Hi I am trying to add items to a listview but get the following error, 'ListViewItem' does not contain a constructor that takes 1 argument. I am getting the error here new ListViewItem(row); I am using Windows phone 8.1 in c#.
protected override void OnNavigatedTo(NavigationEventArgs e)
{
int totalq = int.Parse(textBox.Text) + app.vanilla;
textBox.Text = totalq.ToString();
double totalvanilla = Convert.ToDouble(totalq)* 1.50;
textBox_Copy.Text = totalvanilla.ToString();
//listBox.Items.Add(totalq.ToString() + "Vanilla");
string[] row = { totalq.ToString(),"vanilla" };
var listViewItem = new ListViewItem(row);
listView.Items.Add(listViewItem);
}