Пример #1
0
 public void RemoveTab(int index)
 {
     Titles.RemoveAt(index);
     fragments.RemoveAt(index);
     TabTypes.RemoveAt(index);
     NotifyDataSetChanged();
 }
Пример #2
0
 public void Delete()
 {
     if (SelectedIndex != -1)
     {
         var mov = Titles[SelectedIndex];
         Titles.RemoveAt(SelectedIndex);
     }
 }
Пример #3
0
 public void Delete()
 {
     if (SelectedIndex != -1)
     {
         Debug.WriteLine("Deleting: " + Titles[SelectedIndex].Title);
         var mov = Titles[SelectedIndex];
         myMovie.Titles.RemoveAt(SelectedIndex);
         Titles.RemoveAt(SelectedIndex);
     }
 }