public void RemoveTab(int index) { Titles.RemoveAt(index); fragments.RemoveAt(index); TabTypes.RemoveAt(index); NotifyDataSetChanged(); }
public void Delete() { if (SelectedIndex != -1) { var mov = Titles[SelectedIndex]; Titles.RemoveAt(SelectedIndex); } }
public void Delete() { if (SelectedIndex != -1) { Debug.WriteLine("Deleting: " + Titles[SelectedIndex].Title); var mov = Titles[SelectedIndex]; myMovie.Titles.RemoveAt(SelectedIndex); Titles.RemoveAt(SelectedIndex); } }