Пример #1
0
 protected override void UpdateView()
 {
     CalendarNameLabel.Text = Item.Name;
     IsSelectedSwitch.SetState(Item.Selected, animated: false);
 }
Пример #2
0
 public void UpdateView(bool animate)
 {
     CalendarNameLabel.Text = Item.Name;
     IsSelectedSwitch.SetState(Item.Selected, animate);
 }
Пример #3
0
 public void ToggleSwitch()
 {
     IsSelectedSwitch.SetState(!IsSelectedSwitch.On, animated: true);
 }